gnu.xquery.util

Class MinMax

Implemented Interfaces:
Named

public class MinMax
extends Reduce

Field Summary

static MinMax
max
static MinMax
min

Fields inherited from class gnu.xquery.util.Reduce

combiner, sum

Constructor Summary

MinMax(String name, boolean returnMax)

Method Summary

Object
combine(Object arg1, Object arg2)

Methods inherited from class gnu.xquery.util.Reduce

apply1, combine

Methods inherited from class gnu.mapping.Procedure1

apply0, apply1, apply2, apply3, apply4, applyN, numArgs

Methods inherited from class gnu.mapping.Procedure

apply, apply, apply0, apply1, apply2, apply3, apply4, applyN, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, numArgs, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol, toString

Field Details

max

public static final MinMax max

min

public static final MinMax min

Constructor Details

MinMax

public MinMax(String name,
              boolean returnMax)

Method Details

combine

public Object combine(Object arg1,
                      Object arg2)
Overrides:
combine in interface Reduce