|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jga.fn.UnaryFunctor<T,java.lang.Boolean>
net.sf.jga.fn.UnaryPredicate<T>
public abstract class UnaryPredicate<T>
A Predicate that takes one argument and returns a boolean result. The
argument is of type T.
Copyright © 2002 David A. Hall
| Constructor Summary | |
|---|---|
UnaryPredicate()
|
|
| Method Summary | |
|---|---|
boolean |
p(T arg)
Evaluates the predicate and returns true or false. |
| Methods inherited from class net.sf.jga.fn.UnaryFunctor |
|---|
accept, bind, compose, compose, fn, generate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnaryPredicate()
| Method Detail |
|---|
public boolean p(T arg)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||