net.sf.jga.fn.logical
Class LogicalFunctors
java.lang.Object
net.sf.jga.fn.logical.LogicalFunctors
public final class LogicalFunctors
- extends java.lang.Object
Static factory methods for the functors in the Logical package.
Copyright © 2006 David A. Hall
- Author:
- David A. Hall
Method Summary |
static
|
all()
|
static
|
all(java.util.Collection<UnaryFunctor<T,java.lang.Boolean>> branches)
|
static
|
all(UnaryFunctor<T,java.lang.Boolean>... branches)
|
static
|
any()
|
static
|
any(java.util.Collection<UnaryFunctor<T,java.lang.Boolean>> branches)
|
static
|
any(UnaryFunctor<T,java.lang.Boolean>... branches)
|
static
|
binaryNegate(BinaryFunctor<? super T1,? super T2,java.lang.Boolean> p)
|
static BinaryFunctor<java.lang.Boolean,java.lang.Boolean,java.lang.Boolean> |
logicalAnd()
|
static UnaryFunctor<java.lang.Boolean,java.lang.Boolean> |
logicalNot()
|
static BinaryFunctor<java.lang.Boolean,java.lang.Boolean,java.lang.Boolean> |
logicalOr()
|
static
|
unaryNegate(UnaryFunctor<? super T,java.lang.Boolean> p)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogicalFunctors
public LogicalFunctors()
all
public static <T> UnaryFunctor<T,java.lang.Boolean> all()
all
public static <T> UnaryFunctor<T,java.lang.Boolean> all(java.util.Collection<UnaryFunctor<T,java.lang.Boolean>> branches)
all
public static <T> UnaryFunctor<T,java.lang.Boolean> all(UnaryFunctor<T,java.lang.Boolean>... branches)
any
public static <T> UnaryFunctor<T,java.lang.Boolean> any()
any
public static <T> UnaryFunctor<T,java.lang.Boolean> any(java.util.Collection<UnaryFunctor<T,java.lang.Boolean>> branches)
any
public static <T> UnaryFunctor<T,java.lang.Boolean> any(UnaryFunctor<T,java.lang.Boolean>... branches)
binaryNegate
public static <T1,T2> BinaryFunctor<T1,T2,java.lang.Boolean> binaryNegate(BinaryFunctor<? super T1,? super T2,java.lang.Boolean> p)
logicalAnd
public static BinaryFunctor<java.lang.Boolean,java.lang.Boolean,java.lang.Boolean> logicalAnd()
logicalOr
public static BinaryFunctor<java.lang.Boolean,java.lang.Boolean,java.lang.Boolean> logicalOr()
logicalNot
public static UnaryFunctor<java.lang.Boolean,java.lang.Boolean> logicalNot()
unaryNegate
public static <T> UnaryFunctor<T,java.lang.Boolean> unaryNegate(UnaryFunctor<? super T,java.lang.Boolean> p)
Copyright © 2002-2006 David A. Hall. All Rights Reserved.