|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.search.aggregator.Max<T>
T
- public class Max<T>
Determine the maximum value
Constructor Summary | |
---|---|
Max(Attribute<?> attribute)
|
Method Summary | |
---|---|
void |
accept(Object input)
Add the given value to the aggregator function |
T |
aggregateResult()
Retrieve the final result |
Max<T> |
createClone()
Create a clone of this aggregator, detaching from its result |
Attribute |
getAttribute()
Get the attribute to pass to aggregator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Max(Attribute<?> attribute)
attribute
- Method Detail |
---|
public Max<T> createClone()
createClone
in interface AggregatorInstance<T>
public T aggregateResult()
aggregateResult
in interface AggregatorInstance<T>
public void accept(Object input) throws AggregatorException
accept
in interface AggregatorInstance<T>
input
- a single input value
AggregatorException
- if the function cannot be computed, possibly due to unsupported typespublic Attribute getAttribute()
getAttribute
in interface AggregatorInstance<T>
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |