saffron.ext
Class LocaleMin
java.lang.Object
|
+--saffron.ext.LocaleMin
- All Implemented Interfaces:
- AggregationExtender
- public class LocaleMin
- extends Object
- implements AggregationExtender
LocaleMin
is an example of a custom aggregation. It evaluates
the minimum of a set of values, according to a given locale.
- Since:
- 10 February, 2002
- Version:
- $Id: //open/saffron/src/main/saffron/ext/LocaleMin.java#1 $
- Author:
- jhyde
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
collator
private Collator collator
LocaleMin
public LocaleMin(Locale locale)
lesser
private final String lesser(String s,
String t)
aggregate
public String aggregate(String v)
start
public Object start(String v)
next
public Object next(String v,
Object accumulator)
merge
public Object merge(String v,
Object accumulator0,
Object accumulator1)
result
public String result(String v,
Object accumulator)