Klasse PairListCollector

java.lang.Object
de.kamillionlabs.hateoflux.utility.pair.PairListCollector

public class PairListCollector extends Object
Utility class providing collectors for PairList.
  • Methodendetails

    • toPairList

      public static <LeftT, RightT> Collector<Pair<LeftT,RightT>,?,PairList<LeftT,RightT>> toPairList()
      Creates a Collector that accumulates Pair elements into a PairList.
      Typparameter:
      LeftT - the type of the left elements in the pairs
      RightT - the type of the right elements in the pairs
      Gibt zurück:
      a Collector that collects Pair elements into a PairList