public static final class accumulators.Min<C extends Comparable<? super C>> extends MappedAccumulator<C>
_samples| Constructor and Description |
|---|
accumulators.Min()
Create a new Min accumulator.
|
accumulators.Min(accumulators.Min<C> min)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate(C value)
Accumulate the given value.
|
accumulators.Min<C> |
clone() |
boolean |
equals(Object obj) |
C |
getMin()
Return the min value, accumulated so far.
|
int |
hashCode() |
String |
toString() |
getSamples, mappublic accumulators.Min()
public accumulators.Min(accumulators.Min<C> min)
min - the accumulator to copy.NullPointerException - if min is null.public C getMin()
public void accumulate(C value)
Accumulatoraccumulate in interface Accumulator<C extends Comparable<? super C>>accumulate in class MappedAccumulator<C extends Comparable<? super C>>value - the value to accumulate.NullPointerException - if the given value is null.public int hashCode()
hashCode in class MappedAccumulator<C extends Comparable<? super C>>public boolean equals(Object obj)
equals in class MappedAccumulator<C extends Comparable<? super C>>public String toString()
toString in class MappedAccumulator<C extends Comparable<? super C>>public accumulators.Min<C> clone()
clone in class MappedAccumulator<C extends Comparable<? super C>>© 2007-2013 Franz Wilhelmstötter (2013-12-18 20:17)