Package org.fest.swing.util
Class Range
java.lang.Object
org.fest.swing.util.Range
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUnderstands the starting value of a range.static classUnderstands the ending value of a range. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Range.Fromfrom(int value) Creates a new, representing the starting value of a range.Range.Fromstatic final Range.Toto(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.
-