Package snap.util
Class Range
java.lang.Object
snap.util.Range
A class to represent start and end values.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
start
public final int start -
end
public final int end -
length
public final int length -
anchor
public final int anchor
-
-
Constructor Details
-
Range
public Range(int aStart, int anEnd) Creates a range with start/end. -
Range
public Range(int aStart, int anEnd, int anAnchor) Creates a range, with start/end/anchor.
-
-
Method Details