| net.sf.jga.fn.arithmetic.BitwiseAnd
BitwiseAnd | public class BitwiseAnd extends BinaryFunctor (Code) | | Binary Functor that returns the bitwise and of its two arguments
Copyright © 2005 David A. Hall
author: David A. Hall |
Constructor Summary | |
public | BitwiseAnd(Class<T> c) Builds BitwiseAnd functor for the given class. |
serialVersionUID | final static long serialVersionUID(Code) | | |
BitwiseAnd | public BitwiseAnd(Class<T> c)(Code) | | Builds BitwiseAnd functor for the given class. The class argument must
be the same as the generic class argument (when generics are in use)
or else a ClassCastException will be thrown when the functor is used.
throws: IllegalArgumentException - if the given class has no Arithmeticimplementation registered with the ArithmeticFactory |
accept | public void accept(net.sf.jga.fn.Visitor v)(Code) | | Calls the Visitor's visit(BitwiseAnd) method, if it
implements the nested Visitor interface.
|
fn | public T fn(T x, T y)(Code) | | Given arguments x and y, x & y
x & y |
getType | public Class<T> getType()(Code) | | Returns the type of operands this instance supports
|
|
|