|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.swing.util.Range
public final class Range
Understands a range (from, to.)
Usage:
Range range =(0).
from
(8);
to
Nested Class Summary | |
---|---|
static class |
Range.From
Understands the starting value of a range. |
static class |
Range.To
Understands the ending value of a range. |
Method Summary | |
---|---|
static Range.From |
from(int value)
Creates a new , representing the starting value of a range. |
static Range.To |
to(int value)
Creates a new , representing the ending value of a range. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final Range.From from(int value)
Range.From
, representing the starting value of a range.
value
- the starting value of the range.
From
.public static final Range.To to(int value)
Range.To
, representing the ending value of a range.
value
- the ending value of the range.
To
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |