Uses of Interface
no.digipost.tuple.ViewableAsTuple
Packages that use ViewableAsTuple
-
Uses of ViewableAsTuple in no.digipost
Methods in no.digipost that return types with arguments of type ViewableAsTupleModifier and TypeMethodDescriptionstatic <T1,T2> Collector<ViewableAsTuple<T1, Optional<T2>>, ?, Map<T1, List<T2>>> DiggCollectors.toMultimap()A multimap maps from keys to lists, and this collector will arrangetuplesby putting each distinctfirst tuple-elementas keys of the resulting map, mapping them to aList, and adding eachsecond tuple-elementto the list.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.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 ViewableAsTuple in no.digipost.collection
Methods in no.digipost.collection that return types with arguments of type ViewableAsTupleModifier and TypeMethodDescriptionBiConsumer<no.digipost.collection.MultitupleBuilder<T1,T2>, ViewableAsTuple<T1, Optional<T2>>> EnforceDistinctFirstTupleElementCollector.accumulator() -
Uses of ViewableAsTuple in no.digipost.tuple
Subinterfaces of ViewableAsTuple in no.digipost.tupleModifier and TypeInterfaceDescriptioninterfaceTuple<T1,T2> A tuple is a simple composition of two arbitrary values (objects). -
Uses of ViewableAsTuple in no.digipost.util
Methods in no.digipost.util with parameters of type ViewableAsTupleModifier and TypeMethodDescriptionAttributesMap.Builder.and(ViewableAsTuple<? extends SetsNamedValue<V>, V> attributeWithValue) Add an attribute coupled with a value.static <V> AttributesMap.BuilderAttributesMap.with(ViewableAsTuple<? extends SetsNamedValue<V>, V> attributeWithValue, AttributesMap.Config... configSwitches)