public class Counter<T> extends Object
| Constructor and Description |
|---|
Counter() |
| Modifier and Type | Method and Description |
|---|---|
void |
count(T value) |
<O> void |
countAll(Collection<O> collection,
Function1<O,T> extractor) |
T |
getMaxValue() |
static <In,Out> Out |
getMaxValue(Collection<In> collection,
Function1<In,Out> extractor) |
public <O> void countAll(Collection<O> collection, Function1<O,T> extractor)
public void count(T value)
public T getMaxValue()
public static <In,Out> Out getMaxValue(Collection<In> collection, Function1<In,Out> extractor)
Copyright © 2021. All rights reserved.