Another map argument
l
class Cuber implements Function1
{
l
public
Object apply(Object x)
{
float num = ((Number)x). floatValue();
return new Float(num*num*num);
}
l
}
l
Usage: map(new Cuber(), L)
ÒpublicÓ must
be explicit!