org.apache.commons.functor.example.kata.one
Class Multiply
java.lang.Object
org.apache.commons.functor.example.kata.one.ArithmeticOperation
org.apache.commons.functor.example.kata.one.Multiply
- All Implemented Interfaces:
- BinaryFunction<Number,Number,Number>, BinaryFunctor<Number,Number>, Functor
public class Multiply
- extends ArithmeticOperation
- Version:
- $Revision: 665786 $ $Date: 2008-06-09 19:17:39 +0200 (Mon, 09 Jun 2008) $
- Author:
- Rodney Waldhoff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Multiply
public Multiply()
evaluate
public Number evaluate(Number left,
Number right)
instance
public static Multiply instance()
by
public static UnaryFunction<Number,Number> by(int factor)
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.