|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.noaa.pmel.util.Range
public class Range
Contains minimum and maximum integer values.
Field Summary | |
---|---|
int |
end
The range's last value |
int |
start
The range's first value |
Constructor Summary | |
---|---|
Range()
Default constructor |
|
Range(int start,
int end)
Initializes Range with start and end integral values. |
Method Summary | |
---|---|
boolean |
equals(Range r)
Test Range for equality. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int start
public int end
Constructor Detail |
---|
public Range()
public Range(int start, int end)
start
- first valueend
- last valueMethod Detail |
---|
public boolean equals(Range r)
Range
for equality. Both start and end must be
equal for equality.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |