Uses of Interface
no.digipost.tuple.Tuple
-
Packages that use Tuple Package Description no.digipost no.digipost.collection no.digipost.tuple no.digipost.util -
-
Uses of Tuple in no.digipost
Methods in no.digipost that return types with arguments of type Tuple Modifier and Type Method Description static <T1,T2>
Collector<ViewableAsTuple<T1,Optional<T2>>,?,Optional<Tuple<T1,List<T2>>>>DiggCollectors. toMultituple()A multituple is similar to a multimap in that it consists of onefirstvalue and a List of values as thesecondvalue, and this collector will collecttupleswhere it is expected that all the first tuple-elements are equal, and re-arrange them by putting the distinct first element into a new Tuple, and collate each of the second elements into a new List which is set as the second element of the new Tuple.static <T1,T2>
Collector<ViewableAsTuple<T1,Optional<T2>>,?,Optional<Tuple<T1,List<T2>>>>DiggCollectors. toMultitupleOrThrowIfNonDistinct(BiFunction<? super Tuple<T1,List<T2>>,? super Tuple<T1,Optional<T2>>,? extends RuntimeException> exceptionOnNonDistinctFirstElement)A multituple is similar to a multimap in that it consists of onefirstvalue and a List of values as thesecondvalue, and this collector will collecttupleswhere it is expected that all the first tuple-elements are equal, and re-arrange them by putting the distinct first element into a new Tuple, and collate each of the second elements into a new List which is set as the second element of the new Tuple.Method parameters in no.digipost with type arguments of type Tuple Modifier and Type Method Description static <T1,T2>
Collector<ViewableAsTuple<T1,Optional<T2>>,?,Optional<Tuple<T1,List<T2>>>>DiggCollectors. toMultitupleOrThrowIfNonDistinct(BiFunction<? super Tuple<T1,List<T2>>,? super Tuple<T1,Optional<T2>>,? extends RuntimeException> exceptionOnNonDistinctFirstElement)A multituple is similar to a multimap in that it consists of onefirstvalue and a List of values as thesecondvalue, and this collector will collecttupleswhere it is expected that all the first tuple-elements are equal, and re-arrange them by putting the distinct first element into a new Tuple, and collate each of the second elements into a new List which is set as the second element of the new Tuple.static <T1,T2>
Collector<ViewableAsTuple<T1,Optional<T2>>,?,Optional<Tuple<T1,List<T2>>>>DiggCollectors. toMultitupleOrThrowIfNonDistinct(BiFunction<? super Tuple<T1,List<T2>>,? super Tuple<T1,Optional<T2>>,? extends RuntimeException> exceptionOnNonDistinctFirstElement)A multituple is similar to a multimap in that it consists of onefirstvalue and a List of values as thesecondvalue, and this collector will collecttupleswhere it is expected that all the first tuple-elements are equal, and re-arrange them by putting the distinct first element into a new Tuple, and collate each of the second elements into a new List which is set as the second element of the new Tuple. -
Uses of Tuple in no.digipost.collection
Methods in no.digipost.collection that return types with arguments of type Tuple Modifier and Type Method Description Function<no.digipost.collection.MultitupleBuilder<T1,T2>,Optional<Tuple<T1,List<T2>>>>EnforceDistinctFirstTupleElementCollector. finisher()Constructor parameters in no.digipost.collection with type arguments of type Tuple Constructor Description EnforceDistinctFirstTupleElementCollector(BiFunction<? super Tuple<T1,List<T2>>,? super Tuple<T1,Optional<T2>>,? extends RuntimeException> exceptionOnNonDistinctFirstElement)EnforceDistinctFirstTupleElementCollector(BiFunction<? super Tuple<T1,List<T2>>,? super Tuple<T1,Optional<T2>>,? extends RuntimeException> exceptionOnNonDistinctFirstElement) -
Uses of Tuple in no.digipost.tuple
Methods in no.digipost.tuple that return Tuple Modifier and Type Method Description Tuple<T1,T2>Tuple. asTuple()Tuple<T1,T2>ViewableAsTuple. asTuple()<S1,S2>
Tuple<S1,S2>Tuple. map(Function<? super T1,? extends S1> firstMapper, Function<? super T2,? extends S2> secondMapper)Create a new tuple by applying a function to each element, and putting the results to corresponding positions in the new tuple.<S1> Tuple<S1,T2>Tuple. mapFirst(Function<? super T1,? extends S1> mapper)Create a new tuple by applying a function to the first element, and putting the result as the first element of the new tuple.<S2> Tuple<T1,S2>Tuple. mapSecond(Function<? super T2,? extends S2> mapper)Create a new tuple by applying a function to the second element, and putting the result as the second element of the new tuple.static <T1,T2>
Tuple<T1,T2>Tuple. of(T1 first, T2 second)static <T1,T2>
Tuple<T1,T2>Tuple. ofMapEntry(Map.Entry<T1,T2> mapEntry)default Tuple<T2,T1>Tuple. swap()Methods in no.digipost.tuple that return types with arguments of type Tuple Modifier and Type Method Description static <T1,T2>
Stream<Tuple<T1,T2>>Tuples. ofMap(Map<T1,T2> map)Methods in no.digipost.tuple with parameters of type Tuple Modifier and Type Method Description static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Decuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>Decuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9>,T10> nestedTuple)static <T1,T2,T3,T4,T5,T6>
Hextuple<T1,T2,T3,T4,T5,T6>Hextuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9>
Nonuple<T1,T2,T3,T4,T5,T6,T7,T8,T9>Nonuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8>
Octuple<T1,T2,T3,T4,T5,T6,T7,T8>Octuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8> nestedTuple)static <T1,T2,T3,T4,T5>
Pentuple<T1,T2,T3,T4,T5>Pentuple. flatten(Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5> nestedTuple)static <T1,T2,T3,T4>
Quadruple<T1,T2,T3,T4>Quadruple. flatten(Tuple<Tuple<Tuple<T1,T2>,T3>,T4> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7>
Septuple<T1,T2,T3,T4,T5,T6,T7>Septuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7> nestedTuple)static <T1,T2,T3>
Triple<T1,T2,T3>Triple. flatten(Tuple<Tuple<T1,T2>,T3> nestedTuple)Method parameters in no.digipost.tuple with type arguments of type Tuple Modifier and Type Method Description static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Decuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>Decuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9>,T10> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Decuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>Decuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9>,T10> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Decuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>Decuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9>,T10> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Decuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>Decuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9>,T10> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Decuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>Decuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9>,T10> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Decuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>Decuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9>,T10> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Decuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>Decuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9>,T10> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Decuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>Decuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9>,T10> nestedTuple)static <T1,T2,T3,T4,T5,T6>
Hextuple<T1,T2,T3,T4,T5,T6>Hextuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6> nestedTuple)static <T1,T2,T3,T4,T5,T6>
Hextuple<T1,T2,T3,T4,T5,T6>Hextuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6> nestedTuple)static <T1,T2,T3,T4,T5,T6>
Hextuple<T1,T2,T3,T4,T5,T6>Hextuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6> nestedTuple)static <T1,T2,T3,T4,T5,T6>
Hextuple<T1,T2,T3,T4,T5,T6>Hextuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9>
Nonuple<T1,T2,T3,T4,T5,T6,T7,T8,T9>Nonuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9>
Nonuple<T1,T2,T3,T4,T5,T6,T7,T8,T9>Nonuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9>
Nonuple<T1,T2,T3,T4,T5,T6,T7,T8,T9>Nonuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9>
Nonuple<T1,T2,T3,T4,T5,T6,T7,T8,T9>Nonuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9>
Nonuple<T1,T2,T3,T4,T5,T6,T7,T8,T9>Nonuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9>
Nonuple<T1,T2,T3,T4,T5,T6,T7,T8,T9>Nonuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8,T9>
Nonuple<T1,T2,T3,T4,T5,T6,T7,T8,T9>Nonuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8>,T9> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8>
Octuple<T1,T2,T3,T4,T5,T6,T7,T8>Octuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8>
Octuple<T1,T2,T3,T4,T5,T6,T7,T8>Octuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8>
Octuple<T1,T2,T3,T4,T5,T6,T7,T8>Octuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8>
Octuple<T1,T2,T3,T4,T5,T6,T7,T8>Octuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8>
Octuple<T1,T2,T3,T4,T5,T6,T7,T8>Octuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7,T8>
Octuple<T1,T2,T3,T4,T5,T6,T7,T8>Octuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7>,T8> nestedTuple)static <T1,T2,T3,T4,T5>
Pentuple<T1,T2,T3,T4,T5>Pentuple. flatten(Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5> nestedTuple)static <T1,T2,T3,T4,T5>
Pentuple<T1,T2,T3,T4,T5>Pentuple. flatten(Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5> nestedTuple)static <T1,T2,T3,T4,T5>
Pentuple<T1,T2,T3,T4,T5>Pentuple. flatten(Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5> nestedTuple)static <T1,T2,T3,T4>
Quadruple<T1,T2,T3,T4>Quadruple. flatten(Tuple<Tuple<Tuple<T1,T2>,T3>,T4> nestedTuple)static <T1,T2,T3,T4>
Quadruple<T1,T2,T3,T4>Quadruple. flatten(Tuple<Tuple<Tuple<T1,T2>,T3>,T4> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7>
Septuple<T1,T2,T3,T4,T5,T6,T7>Septuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7>
Septuple<T1,T2,T3,T4,T5,T6,T7>Septuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7>
Septuple<T1,T2,T3,T4,T5,T6,T7>Septuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7>
Septuple<T1,T2,T3,T4,T5,T6,T7>Septuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7> nestedTuple)static <T1,T2,T3,T4,T5,T6,T7>
Septuple<T1,T2,T3,T4,T5,T6,T7>Septuple. flatten(Tuple<Tuple<Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5>,T6>,T7> nestedTuple)static <T1,T2,T3>
Triple<T1,T2,T3>Triple. flatten(Tuple<Tuple<T1,T2>,T3> nestedTuple) -
Uses of Tuple in no.digipost.util
Methods in no.digipost.util that return Tuple Modifier and Type Method Description Tuple<Attribute<V>,V>Attribute. withValue(V value)Bundle an attribute with an associated value in aTuple.
-