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