Class jgl.NegativeInteger
All Packages Class Hierarchy This Package Previous Next Index
Class jgl.NegativeInteger
java.lang.Object
|
+----jgl.NegativeInteger
- public final class NegativeInteger
- extends Object
- implements UnaryPredicate
NegativeInteger is a unary predicate that returns true if its operand is negative.
- See Also:
- PositiveInteger
-
NegativeInteger()
-
-
execute(Object)
- Return true if the operand is less than zero.
NegativeInteger
public NegativeInteger()
execute
public boolean execute(Object object)
- Return true if the operand is less than zero.
- Parameters:
- object - The operand, which must be an Integer.
- Returns:
- object < 0
All Packages Class Hierarchy This Package Previous Next Index