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

Constructor Index

 o NegativeInteger()

Method Index

 o execute(Object)
Return true if the operand is less than zero.

Constructors

 o NegativeInteger
  public NegativeInteger()

Methods

 o 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