Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## hibergui.verify
Class IntervalConstraint

    java.lang.Object
      hibergui.verify.IntervalConstraint

All Implemented Interfaces:
  Constraint

Direct Known Subclasses:
  DoubleInterval, IntegerInterval, LongInterval

    public abstract class IntervalConstraint

extends java.lang.Object
implements Constraint

Field Summary
`protected java.lang.Number` | `a`
`protected java.lang.Number` | `b`
`static int` | `LEFT_OPEN`
`protected int` | `mode`
`static int` | `NONE`
`static int` | `RIGHT_OPEN`

Constructor Summary
`IntervalConstraint(java.lang.Number a, java.lang.Number b)`
`IntervalConstraint(java.lang.Number a, java.lang.Number b, int mode)`

Method Summary
`abstract boolean` | `check(java.lang.Number n)`
`boolean` | `check(java.lang.Object o)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### NONE

    public static final int NONE

See Also:
  Constant Field Values

### LEFT_OPEN

    public static final int LEFT_OPEN

See Also:
  Constant Field Values

### RIGHT_OPEN

    public static final int RIGHT_OPEN

See Also:
  Constant Field Values

### mode

    protected final int mode

### a

    protected final java.lang.Number a

### b

    protected final java.lang.Number b

Constructor Detail

### IntervalConstraint

    public IntervalConstraint(java.lang.Number a,
                              java.lang.Number b)

### IntervalConstraint

    public IntervalConstraint(java.lang.Number a,
                              java.lang.Number b,
                              int mode)

Method Detail

### check

    public boolean check(java.lang.Object o)

  Specified by:
    `check` in interface `Constraint`
  Returns:
    true if the object satisfies the constraint, false otherwise

### check

    public abstract boolean check(java.lang.Number n)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD