net.sf.jga.fn.arithmetic
Class ArithmeticFunctors
java.lang.Object
net.sf.jga.fn.arithmetic.ArithmeticFunctors
public final class ArithmeticFunctors
- extends java.lang.Object
Static factory methods for the functors in the Comparison package.
Copyright © 2006 David A. Hall
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArithmeticFunctors
public ArithmeticFunctors()
average
public static <T extends java.lang.Number> UnaryFunctor<java.util.Iterator<T>,T> average(java.lang.Class<T> t)
bitwiseAnd
public static <T extends java.lang.Number> BinaryFunctor<T,T,T> bitwiseAnd(java.lang.Class<T> t)
bitwiseAnd
public static <T extends java.lang.Number> UnaryFunctor<T,T> bitwiseAnd(T value)
bitwiseNot
public static <T extends java.lang.Number> UnaryFunctor<T,T> bitwiseNot(java.lang.Class<T> t)
bitwiseOr
public static <T extends java.lang.Number> BinaryFunctor<T,T,T> bitwiseOr(java.lang.Class<T> t)
bitwiseOr
public static <T extends java.lang.Number> UnaryFunctor<T,T> bitwiseOr(T value)
bitwiseXor
public static <T extends java.lang.Number> BinaryFunctor<T,T,T> bitwiseXor(java.lang.Class<T> t)
bitwiseXor
public static <T extends java.lang.Number> UnaryFunctor<T,T> bitwiseXor(T value)
divides
public static <T extends java.lang.Number> BinaryFunctor<T,T,T> divides(java.lang.Class<T> t)
divides
public static <T extends java.lang.Number> UnaryFunctor<T,T> divides(T value)
minus
public static <T extends java.lang.Number> BinaryFunctor<T,T,T> minus(java.lang.Class<T> t)
minus
public static <T extends java.lang.Number> UnaryFunctor<T,T> minus(T value)
modulus
public static <T extends java.lang.Number> BinaryFunctor<T,T,T> modulus(java.lang.Class<T> t)
modulus
public static <T extends java.lang.Number> UnaryFunctor<T,T> modulus(T value)
multiplies
public static <T extends java.lang.Number> BinaryFunctor<T,T,T> multiplies(java.lang.Class<T> t)
multiplies
public static <T extends java.lang.Number> UnaryFunctor<T,T> multiplies(T value)
negate
public static <T extends java.lang.Number> UnaryFunctor<T,T> negate(java.lang.Class<T> t)
plus
public static <T extends java.lang.Number> BinaryFunctor<T,T,T> plus(java.lang.Class<T> t)
plus
public static <T extends java.lang.Number> UnaryFunctor<T,T> plus(T value)
shiftLeft
public static <T extends java.lang.Number> BinaryFunctor<T,java.lang.Integer,T> shiftLeft(java.lang.Class<T> t)
shiftRight
public static <T extends java.lang.Number> BinaryFunctor<T,java.lang.Integer,T> shiftRight(java.lang.Class<T> t)
unsignedShiftRight
public static <T extends java.lang.Number> BinaryFunctor<T,java.lang.Integer,T> unsignedShiftRight(java.lang.Class<T> t)
valueOf
public static <T extends java.lang.Number,R extends java.lang.Number> UnaryFunctor<T,R> valueOf(java.lang.Class<R> r)
Copyright © 2002-2006 David A. Hall. All Rights Reserved.