|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.util.Range
A Range represents a consecutive sequence of indexes.
| Field Summary | |
int |
first
This is the first index in the range. |
int |
last
This is the last index in the range (inclusive). |
| Constructor Summary | |
Range(int first,
int last)
|
|
| Method Summary | |
boolean |
equals(Object other)
Returns if this object is considered equal to the other object. |
Object |
getCopy()
Return a copy of this object. |
Range |
set(int first,
int last)
|
Range |
set(Range r)
|
String |
toString()
Return a String representation of this object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode |
| Field Detail |
public int first
public int last
| Constructor Detail |
public Range(int first,
int last)
| Method Detail |
public Range set(int first,
int last)
public Range set(Range r)
public boolean equals(Object other)
Object
equals in class Objectother - Another object to compare to.
public String toString()
Object
toString in class Objectpublic Object getCopy()
Copyable
getCopy in interface Copyable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||