java.lang.Object | |
↳ | com.pspdfkit.datastructures.Range |
Represents a range indexed from 0.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final Creator<Range> | CREATOR | Creator for creating the Range object from Parcel . |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Range(int position, int length)
Creates a range.
| |||||||||||
Range(Parcel source)
Creates a
Range object from the provided parcel. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | compareTo(Range other) | ||||||||||
int | describeContents() | ||||||||||
boolean | equals(Object o) | ||||||||||
int |
getEndPosition()
Returns the ending index for this range.
| ||||||||||
int |
getLength()
Returns length of this range.
| ||||||||||
int |
getStartPosition()
Returns starting index of this range.
| ||||||||||
int | hashCode() | ||||||||||
String | toString() | ||||||||||
void | writeToParcel(Parcel dest, int flags) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a range.
position | Position at which to start the range. |
---|---|
length | Length of the range. |
Creates a Range
object from the provided parcel.
source | Parcel to use for extracting range object. |
---|
Returns the ending index for this range.
Returns length of this range.
Returns starting index of this range.