Klasse MultiRightPairList<LeftT,RightT>
java.lang.Object
java.util.AbstractCollection<MultiRightPair<LeftT,RightT>>
java.util.AbstractList<MultiRightPair<LeftT,RightT>>
java.util.AbstractSequentialList<MultiRightPair<LeftT,RightT>>
java.util.LinkedList<MultiRightPair<LeftT,RightT>>
de.kamillionlabs.hateoflux.utility.pair.MultiRightPairList<LeftT,RightT>
- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs
- Alle implementierten Schnittstellen:
Serializable,Cloneable,Iterable<MultiRightPair<LeftT,,RightT>> Collection<MultiRightPair<LeftT,,RightT>> Deque<MultiRightPair<LeftT,,RightT>> List<MultiRightPair<LeftT,,RightT>> Queue<MultiRightPair<LeftT,,RightT>> SequencedCollection<MultiRightPair<LeftT,RightT>>
Utility class that associates multiple
RightT values with a single LeftT value. It serves as a
shorthand for List<MultiRightPair<LeftT, RightT>>.
A key difference from MultiValueMap is that this class maintains a list of pairs rather than a map. This
distinction emphasizes the semantic difference between "pairs" and "key/value" relationships that this class aims to
convey.
Unlike a map, MultiRightPairList also allows duplicate LeftT entries, enabling multiple
associations of the same LeftT with different lists of RightT values.
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder java.util.AbstractList
modCount -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanAdds a new pair to the list.Returns a flattened list of all right elements in the pairs.getLeft(int i) Retrieves the left element of the pair at the specified index.getLefts()Returns a list of all left elements in the pairs.getRights(int i) Retrieves the right elements of the pair at the specified index.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of()Creates an emptyMultiRightPairList.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(List<MultiRightPair<LeftT, RightT>> pairs) Creates aMultiRightPairListfrom a list ofMultiRightPairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> Creates aMultiRightPairListwith a single pair.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> Creates aMultiRightPairListwith two pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> Creates aMultiRightPairListwith three pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4) Creates aMultiRightPairListwith four pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5) Creates aMultiRightPairListwith five pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5, LeftT l6, List<RightT> r6) Creates aMultiRightPairListwith six pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5, LeftT l6, List<RightT> r6, LeftT l7, List<RightT> r7) Creates aMultiRightPairListwith seven pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5, LeftT l6, List<RightT> r6, LeftT l7, List<RightT> r7, LeftT l8, List<RightT> r8) Creates aMultiRightPairListwith eight pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5, LeftT l6, List<RightT> r6, LeftT l7, List<RightT> r7, LeftT l8, List<RightT> r8, LeftT l9, List<RightT> r9) Creates aMultiRightPairListwith nine pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5, LeftT l6, List<RightT> r6, LeftT l7, List<RightT> r7, LeftT l8, List<RightT> r8, LeftT l9, List<RightT> r9, LeftT l10, List<RightT> r10) Creates aMultiRightPairListwith ten pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, RightT r1) Creates aMultiRightPairListwith a single pair.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2) Creates aMultiRightPairListwith two pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3) Creates aMultiRightPairListwith three pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4) Creates aMultiRightPairListwith four pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5) Creates aMultiRightPairListwith five pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5, LeftT l6, RightT r6) Creates aMultiRightPairListwith six pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5, LeftT l6, RightT r6, LeftT l7, RightT r7) Creates aMultiRightPairListwith seven pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5, LeftT l6, RightT r6, LeftT l7, RightT r7, LeftT l8, RightT r8) Creates aMultiRightPairListwith eight pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5, LeftT l6, RightT r6, LeftT l7, RightT r7, LeftT l8, RightT r8, LeftT l9, RightT r9) Creates aMultiRightPairListwith nine pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5, LeftT l6, RightT r6, LeftT l7, RightT r7, LeftT l8, RightT r8, LeftT l9, RightT r9, LeftT l10, RightT r10) Creates aMultiRightPairListwith ten pairs.static <LeftT,RightT>
MultiRightPairList<LeftT, RightT> of(org.springframework.util.MultiValueMap<LeftT, RightT> map) Creates aMultiRightPairListfrom aMultiValueMap.Converts thisMultiRightPairListinstance to aMultiRightPairFluxinstance, allowing the pairs in this list to be used in a reactive stream.Von Klasse geerbte Methoden java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, reversed, set, size, spliterator, toArray, toArrayVon Klasse geerbte Methoden java.util.AbstractSequentialList
iteratorVon Klasse geerbte Methoden java.util.AbstractList
equals, hashCode, listIterator, removeRange, subListVon Klasse geerbte Methoden java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toStringVon Klasse geerbte Methoden java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, removeIf, stream, toArrayVon Schnittstelle geerbte Methoden java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
-
Methodendetails
-
toMultiRightPairFlux
Converts thisMultiRightPairListinstance to aMultiRightPairFluxinstance, allowing the pairs in this list to be used in a reactive stream.This method creates a new
MultiRightPairFluxthat emits each pair contained in thisMultiRightPairList.- Gibt zurück:
- a
MultiRightPairFluxinstance containing the same pairs as thisMultiRightPairList
-
add
Adds a new pair to the list.- Parameter:
left- the left element of the pairrights- the right elements of the pair- Gibt zurück:
true(as specified byCollection.add(E))
-
getLeft
Retrieves the left element of the pair at the specified index.- Parameter:
i- the index of the pair- Gibt zurück:
- the left element of the pair at the specified index
-
getRights
Retrieves the right elements of the pair at the specified index.- Parameter:
i- the index of the pair- Gibt zurück:
- the right elements of the pair at the specified index
-
getLefts
Returns a list of all left elements in the pairs.- Gibt zurück:
- a list containing all left elements
-
getFlattenedRights
Returns a flattened list of all right elements in the pairs.- Gibt zurück:
- a list containing all right elements
-
of
Creates an emptyMultiRightPairList.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Gibt zurück:
- a new empty
MultiRightPairList
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(List<MultiRightPair<LeftT, RightT>> pairs) Creates aMultiRightPairListfrom a list ofMultiRightPairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
pairs- the list of pairs- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(org.springframework.util.MultiValueMap<LeftT, RightT> map) Creates aMultiRightPairListfrom aMultiValueMap.- Typparameter:
LeftT- the type of the left elements in the mapRightT- the type of the right elements in the map- Parameter:
map- the map containing left and right elements- Gibt zurück:
- a new
MultiRightPairListcontaining values from the map
-
of
Creates aMultiRightPairListwith a single pair.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right elements of the first pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pair
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2) Creates aMultiRightPairListwith two pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right elements of the first pairl2- the left element of the second pairr2- the right elements of the second pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3) Creates aMultiRightPairListwith three pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right elements of the first pairl2- the left element of the second pairr2- the right elements of the second pairl3- the left element of the third pairr3- the right elements of the third pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4) Creates aMultiRightPairListwith four pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right elements of the first pairl2- the left element of the second pairr2- the right elements of the second pairl3- the left element of the third pairr3- the right elements of the third pairl4- the left element of the fourth pairr4- the right elements of the fourth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5) Creates aMultiRightPairListwith five pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right elements of the first pairl2- the left element of the second pairr2- the right elements of the second pairl3- the left element of the third pairr3- the right elements of the third pairl4- the left element of the fourth pairr4- the right elements of the fourth pairl5- the left element of the fifth pairr5- the right elements of the fifth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5, LeftT l6, List<RightT> r6) Creates aMultiRightPairListwith six pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right elements of the first pairl2- the left element of the second pairr2- the right elements of the second pairl3- the left element of the third pairr3- the right elements of the third pairl4- the left element of the fourth pairr4- the right elements of the fourth pairl5- the left element of the fifth pairr5- the right elements of the fifth pairl6- the left element of the sixth pairr6- the right elements of the sixth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5, LeftT l6, List<RightT> r6, LeftT l7, List<RightT> r7) Creates aMultiRightPairListwith seven pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right elements of the first pairl2- the left element of the second pairr2- the right elements of the second pairl3- the left element of the third pairr3- the right elements of the third pairl4- the left element of the fourth pairr4- the right elements of the fourth pairl5- the left element of the fifth pairr5- the right elements of the fifth pairl6- the left element of the sixth pairr6- the right elements of the sixth pairl7- the left element of the seventh pairr7- the right elements of the seventh pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5, LeftT l6, List<RightT> r6, LeftT l7, List<RightT> r7, LeftT l8, List<RightT> r8) Creates aMultiRightPairListwith eight pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right elements of the first pairl2- the left element of the second pairr2- the right elements of the second pairl3- the left element of the third pairr3- the right elements of the third pairl4- the left element of the fourth pairr4- the right elements of the fourth pairl5- the left element of the fifth pairr5- the right elements of the fifth pairl6- the left element of the sixth pairr6- the right elements of the sixth pairl7- the left element of the seventh pairr7- the right elements of the seventh pairl8- the left element of the eighth pairr8- the right elements of the eighth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5, LeftT l6, List<RightT> r6, LeftT l7, List<RightT> r7, LeftT l8, List<RightT> r8, LeftT l9, List<RightT> r9) Creates aMultiRightPairListwith nine pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right elements of the first pairl2- the left element of the second pairr2- the right elements of the second pairl3- the left element of the third pairr3- the right elements of the third pairl4- the left element of the fourth pairr4- the right elements of the fourth pairl5- the left element of the fifth pairr5- the right elements of the fifth pairl6- the left element of the sixth pairr6- the right elements of the sixth pairl7- the left element of the seventh pairr7- the right elements of the seventh pairl8- the left element of the eighth pairr8- the right elements of the eighth pairl9- the left element of the ninth pairr9- the right elements of the ninth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, List<RightT> r1, LeftT l2, List<RightT> r2, LeftT l3, List<RightT> r3, LeftT l4, List<RightT> r4, LeftT l5, List<RightT> r5, LeftT l6, List<RightT> r6, LeftT l7, List<RightT> r7, LeftT l8, List<RightT> r8, LeftT l9, List<RightT> r9, LeftT l10, List<RightT> r10) Creates aMultiRightPairListwith ten pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right elements of the first pairl2- the left element of the second pairr2- the right elements of the second pairl3- the left element of the third pairr3- the right elements of the third pairl4- the left element of the fourth pairr4- the right elements of the fourth pairl5- the left element of the fifth pairr5- the right elements of the fifth pairl6- the left element of the sixth pairr6- the right elements of the sixth pairl7- the left element of the seventh pairr7- the right elements of the seventh pairl8- the left element of the eighth pairr8- the right elements of the eighth pairl9- the left element of the ninth pairr9- the right elements of the ninth pairl10- the left element of the tenth pairr10- the right elements of the tenth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
Creates aMultiRightPairListwith a single pair.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right element of the first pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pair
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2) Creates aMultiRightPairListwith two pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right element of the first pairl2- the left element of the second pairr2- the right element of the second pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3) Creates aMultiRightPairListwith three pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right element of the first pairl2- the left element of the second pairr2- the right element of the second pairl3- the left element of the third pairr3- the right element of the third pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4) Creates aMultiRightPairListwith four pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right element of the first pairl2- the left element of the second pairr2- the right element of the second pairl3- the left element of the third pairr3- the right element of the third pairl4- the left element of the fourth pairr4- the right element of the fourth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5) Creates aMultiRightPairListwith five pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right element of the first pairl2- the left element of the second pairr2- the right element of the second pairl3- the left element of the third pairr3- the right element of the third pairl4- the left element of the fourth pairr4- the right element of the fourth pairl5- the left element of the fifth pairr5- the right element of the fifth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5, LeftT l6, RightT r6) Creates aMultiRightPairListwith six pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right element of the first pairl2- the left element of the second pairr2- the right element of the second pairl3- the left element of the third pairr3- the right element of the third pairl4- the left element of the fourth pairr4- the right element of the fourth pairl5- the left element of the fifth pairr5- the right element of the fifth pairl6- the left element of the sixth pairr6- the right element of the sixth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5, LeftT l6, RightT r6, LeftT l7, RightT r7) Creates aMultiRightPairListwith seven pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right element of the first pairl2- the left element of the second pairr2- the right element of the second pairl3- the left element of the third pairr3- the right element of the third pairl4- the left element of the fourth pairr4- the right element of the fourth pairl5- the left element of the fifth pairr5- the right element of the fifth pairl6- the left element of the sixth pairr6- the right element of the sixth pairl7- the left element of the seventh pairr7- the right element of the seventh pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5, LeftT l6, RightT r6, LeftT l7, RightT r7, LeftT l8, RightT r8) Creates aMultiRightPairListwith eight pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right element of the first pairl2- the left element of the second pairr2- the right element of the second pairl3- the left element of the third pairr3- the right element of the third pairl4- the left element of the fourth pairr4- the right element of the fourth pairl5- the left element of the fifth pairr5- the right element of the fifth pairl6- the left element of the sixth pairr6- the right element of the sixth pairl7- the left element of the seventh pairr7- the right element of the seventh pairl8- the left element of the eighth pairr8- the right element of the eighth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5, LeftT l6, RightT r6, LeftT l7, RightT r7, LeftT l8, RightT r8, LeftT l9, RightT r9) Creates aMultiRightPairListwith nine pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right element of the first pairl2- the left element of the second pairr2- the right element of the second pairl3- the left element of the third pairr3- the right element of the third pairl4- the left element of the fourth pairr4- the right element of the fourth pairl5- the left element of the fifth pairr5- the right element of the fifth pairl6- the left element of the sixth pairr6- the right element of the sixth pairl7- the left element of the seventh pairr7- the right element of the seventh pairl8- the left element of the eighth pairr8- the right element of the eighth pairl9- the left element of the ninth pairr9- the right element of the ninth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-
of
public static <LeftT,RightT> MultiRightPairList<LeftT,RightT> of(LeftT l1, RightT r1, LeftT l2, RightT r2, LeftT l3, RightT r3, LeftT l4, RightT r4, LeftT l5, RightT r5, LeftT l6, RightT r6, LeftT l7, RightT r7, LeftT l8, RightT r8, LeftT l9, RightT r9, LeftT l10, RightT r10) Creates aMultiRightPairListwith ten pairs.- Typparameter:
LeftT- the type of the left elements in the pairsRightT- the type of the right elements in the pairs- Parameter:
l1- the left element of the first pairr1- the right element of the first pairl2- the left element of the second pairr2- the right element of the second pairl3- the left element of the third pairr3- the right element of the third pairl4- the left element of the fourth pairr4- the right element of the fourth pairl5- the left element of the fifth pairr5- the right element of the fifth pairl6- the left element of the sixth pairr6- the right element of the sixth pairl7- the left element of the seventh pairr7- the right element of the seventh pairl8- the left element of the eighth pairr8- the right element of the eighth pairl9- the left element of the ninth pairr9- the right element of the ninth pairl10- the left element of the tenth pairr10- the right element of the tenth pair- Gibt zurück:
- a new
MultiRightPairListcontaining the specified pairs
-