|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.iges.util.Range.Long
Represents a range of integers.
| Field Summary | |
long |
max
|
long |
min
|
| Constructor Summary | |
Range.Long(long _min,
long _max)
Creates a new Range.Long |
|
| Method Summary | |
boolean |
contains(Range.Long range)
Tests whether a given value is contained in this range |
boolean |
overlaps(Range.Long range)
Tests whether this range overlaps the one specified |
long |
size()
Returns the number of integers contained in this range |
java.lang.String |
toString()
Returns a string representation of this range |
Range.Long |
union(Range.Long range)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public long min
public long max
| Constructor Detail |
public Range.Long(long _min,
long _max)
| Method Detail |
public boolean contains(Range.Long range)
public boolean overlaps(Range.Long range)
public Range.Long union(Range.Long range)
public long size()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||