public class Reducers
extends java.lang.Object
Constructor and Description |
---|
Reducers() |
Modifier and Type | Method and Description |
---|---|
static Reducer<java.lang.Double> |
toCountDouble() |
static Reducer<java.lang.Integer> |
toCountInt() |
static <T> Reducer<org.pcollections.PBag<T>> |
toPBag() |
static <T> Reducer<PBagX<T>> |
toPBagX() |
static <K,V> Reducer<org.pcollections.PMap<K,V>> |
toPMap() |
static <K,V> Reducer<PMapX<K,V>> |
toPMapX() |
static <T> Reducer<org.pcollections.POrderedSet<T>> |
toPOrderedSet() |
static <T> Reducer<POrderedSetX<T>> |
toPOrderedSetX() |
static <T> Reducer<org.pcollections.PQueue<T>> |
toPQueue() |
static <T> Reducer<PQueueX<T>> |
toPQueueX() |
static <T> Reducer<org.pcollections.PSet<T>> |
toPSet() |
static <T> Reducer<PSetX<T>> |
toPSetX() |
static <T> Reducer<org.pcollections.PStack<T>> |
toPStack() |
static <T> Reducer<org.pcollections.PStack<T>> |
toPStackReversed() |
static <T> Reducer<PStackX<T>> |
toPStackX() |
static <T> Reducer<org.pcollections.PVector<T>> |
toPVector() |
static <T> Reducer<PVectorX<T>> |
toPVectorX() |
static Monoid<java.lang.String> |
toString(java.lang.String joiner) |
static Monoid<java.lang.Double> |
toTotalDouble() |
static Monoid<java.lang.Integer> |
toTotalInt() |
public static <T> Reducer<POrderedSetX<T>> toPOrderedSetX()
public static <T> Reducer<org.pcollections.PQueue<T>> toPQueue()
public static <T> Reducer<org.pcollections.POrderedSet<T>> toPOrderedSet()
public static <T> Reducer<org.pcollections.PBag<T>> toPBag()
public static <T> Reducer<org.pcollections.PSet<T>> toPSet()
public static <T> Reducer<org.pcollections.PVector<T>> toPVector()
public static <T> Reducer<org.pcollections.PStack<T>> toPStack()
public static <T> Reducer<org.pcollections.PStack<T>> toPStackReversed()
public static <K,V> Reducer<org.pcollections.PMap<K,V>> toPMap()
public static Monoid<java.lang.String> toString(java.lang.String joiner)
public static Monoid<java.lang.Integer> toTotalInt()
public static Reducer<java.lang.Integer> toCountInt()
public static Monoid<java.lang.Double> toTotalDouble()
public static Reducer<java.lang.Double> toCountDouble()