|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.data.Range
public class Range
class that stores a range of values along a coordinate axis
Range
Field Summary | |
---|---|
protected long |
extent
the extent or number of cells in the set of values |
protected int |
origin
the initial cell in the set of values |
Constructor Summary | |
---|---|
Range(int origin,
long extent)
Constructs a range for a given set of values |
|
Range(Range range)
Copy constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
long |
getExtent()
Get the extent of the cells in the set of values |
int |
getLowerBound()
Gets the lower bound of this range. |
int |
getOrigin()
Get the origin or initial location of the cells in the set of values |
long |
getUpperBound()
Gets upper bound of this range. |
int |
hashCode()
|
void |
setExtent(long extent)
Set the extent of the cells in the set of values |
void |
setOrigin(int origin)
Set the origin or initial location of the cells in the set of values |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int origin
protected long extent
Constructor Detail |
---|
public Range(int origin, long extent)
- public Range(Range range)
range
- Method Detail |
---|
public int getLowerBound()
public long getUpperBound()
public long getExtent()
public void setExtent(long extent)
extent
- of the cells desiredpublic int getOrigin()
public void setOrigin(int origin)
origin
- of the cells desiredpublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |