Package com.redis.om.spring.tuple
Interface Pair<E1,E2>
- All Superinterfaces:
GenericTuple<Object>,Tuple
- All Known Implementing Classes:
PairImpl
-
Method Summary
Modifier and TypeMethodDescriptiondefault Objectget(int index) getFirst()static <E1,E2> FirstAccessor<Pair<E1, E2>, E1> static <E1,E2> SecondAccessor<Pair<E1, E2>, E2> default intsize()Methods inherited from interface com.redis.om.spring.tuple.Tuple
labelledMap, stream, streamOf
-
Method Details
-
getFirst
E1 getFirst() -
getSecond
E2 getSecond() -
size
default int size()- Specified by:
sizein interfaceGenericTuple<E1>
-
get
- Specified by:
getin interfaceGenericTuple<E1>
-
getFirstGetter
-
getSecondGetter
-