Yet another
lclass Scaler implements Function1
  {
  private float factor;
  Scaler(float _factor) { factor = _factor;}

l     public Object apply(Object x)
    {
    float num = ((Number)x). floatValue();
    return new Float(factor*num);
    }
l    }

lUsage: map(new Scaler(2.5), L)
constructor