public class PageRange extends Object
Constructor and Description |
---|
PageRange(long start,
long end)
Creates an instance of the
class. |
Modifier and Type | Method and Description |
---|---|
long |
getEndOffset()
Gets the ending offset.
|
long |
getStartOffset()
Gets the starting offset.
|
void |
setEndOffset(long endOffset)
Sets the ending offset.
|
void |
setStartOffset(long startOffset)
Sets the starting offset.
|
String |
toString()
Returns the content of the page range as a string.
|
public PageRange(long start, long end)
PageRange
class.start
- A long
which represents the starting offset.end
- A long
which represents the ending offset.public long getEndOffset()
long
which represents the ending offset.public long getStartOffset()
long
which represents the starting offset.public void setEndOffset(long endOffset)
endOffset
- A long
which specifies the ending offset.public void setStartOffset(long startOffset)
startOffset
- A long
which specifies the starting offset.Copyright © 2018. All Rights Reserved.