Uses of Class
org.springframework.data.util.Pair
Packages that use Pair
Package
Description
Core utility APIs such as a type information framework to resolve generic types.
-
Uses of Pair in org.springframework.data.util
Methods in org.springframework.data.util that return PairModifier and TypeMethodDescriptionstatic <S,
T> Pair<S, T> Pair.of
(S first, T second) Creates a newPair
for the given elements.Methods in org.springframework.data.util that return types with arguments of type PairModifier and TypeMethodDescriptionPair.toMap()
Returns aPair
if bothOptional
instances have values orOptional.empty()
if one or both are missing.