Package org.fest.swing.util
Class Range
java.lang.Object
org.fest.swing.util.Range
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Understands the starting value of a range.static class
Understands the ending value of a range. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Range.From
from
(int value) Creates a new
, representing the starting value of a range.Range.From
static final Range.To
to
(int value) Creates a new
, representing the ending value of a range.Range.To
-
Constructor Details
-
Range
private Range()
-
-
Method Details
-
from
Creates a new
, representing the starting value of a range.Range.From
- Parameters:
value
- the starting value of the range.- Returns:
- the created
From
.
-
to
Creates a new
, representing the ending value of a range.Range.To
- Parameters:
value
- the ending value of the range.- Returns:
- the created
To
.
-