gnu.kawa.functions

Class CountValues

Implemented Interfaces:
Named

public class CountValues
extends Procedure1

Return the number of values in the argument.

Field Summary

static CountValues
countValues

Method Summary

void
apply(CallContext ctx)
Object
apply1(Object arg)
static int
countValues(Object arg)

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

countValues

public static final CountValues countValues

Method Details

apply

public void apply(CallContext ctx)
Overrides:
apply in interface Procedure

apply1

public Object apply1(Object arg)
Overrides:
apply1 in interface Procedure1

countValues

public static int countValues(Object arg)