Class Counter<T>

java.lang.Object
org.lambda.query.Counter<T>

public class Counter<T>
extends Object
  • Constructor Details

    • Counter

      public Counter()
  • Method Details

    • countAll

      public <O> void countAll​(Collection<O> collection, Function1<O,​T> extractor)
    • count

      public void count​(T value)
    • getMaxValue

      public T getMaxValue()
    • getMaxValue

      public static <In,​ Out> Out getMaxValue​(Collection<In> collection, Function1<In,​Out> extractor)