Class jgl.PositiveInteger
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jgl.PositiveInteger

java.lang.Object
   |
   +----jgl.PositiveInteger

public final class PositiveInteger
extends Object
implements UnaryPredicate
PositiveInteger is a unary predicate that returns true if its operand is positive.

See Also:
NegativeInteger

Constructor Index

 o PositiveInteger()

Method Index

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

Constructors

 o PositiveInteger
  public PositiveInteger()

Methods

 o execute
  public boolean execute(Object object)
Return true if the operand is greater than zero.
Parameters:
object - The operand, which must be an Integer.
Returns:
object > 0

All Packages  Class Hierarchy  This Package  Previous  Next  Index