Modifier and Type | Field and Description |
---|---|
int |
first
This is the first index in the range.
|
int |
last
This is the last index in the range (inclusive).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Returns if this object is considered equal to the other object.
|
Object |
getCopy()
Return a copy of this object.
|
boolean |
isEmpty() |
Range |
set(int first,
int last) |
Range |
set(Range r) |
Range |
setEmpty() |
String |
toString()
Return a String representation of this object.
|
public int first
public int last
public boolean isEmpty()
public Range setEmpty()
public Range set(int first, int last)
public boolean equals(Object other)
Object
public String toString()
Object