## Uses of Class
org.springframework.data.util.Pair

Packages that use Pair
org.springframework.data.util: 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 Pair
`static <S,T> Pair<S,T>` Pair.`of(S first, T second)` Creates a new `Pair` for the given elements.

Methods in org.springframework.data.util that return types with arguments of type Pair
`static <S,T> Collector<Pair<S,T>,?,Map<S,T>>` Pair.`toMap()` A collector to create a `Map` from a `Stream` of `Pair`s.
`static <T,S> Optional<Pair<T,S>>` Optionals.`withBoth(Optional<T> left, Optional<S> right)` Returns a `Pair` if both `Optional` instances have values or `Optional.empty()` if one or both are missing.