|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.emory.mathcs.util.collections.shorts.AbstractShortCollection
edu.emory.mathcs.util.collections.shorts.AbstractShortSet
edu.emory.mathcs.util.collections.shorts.AbstractShortSortedSet
edu.emory.mathcs.util.collections.shorts.AbstractShortInterval
edu.emory.mathcs.util.collections.shorts.ShortCollections.SimpleInterval
Nested Class Summary |
Nested classes inherited from class edu.emory.mathcs.util.collections.shorts.AbstractShortInterval |
AbstractShortInterval.ComplementView, AbstractShortInterval.ConstrainedView, AbstractShortInterval.SimpleIntervalItemIterator, AbstractShortInterval.SimpleReverseIntervalItemIterator |
Nested classes inherited from class edu.emory.mathcs.util.collections.shorts.AbstractShortSortedSet |
AbstractShortSortedSet.AbstractComplementSubView, AbstractShortSortedSet.AbstractSubView, AbstractShortSortedSet.ForwardIntervalItemIterator, AbstractShortSortedSet.ReverseIntervalItemIterator |
Constructor Summary | |
ShortCollections.SimpleInterval(short first,
short last)
|
Method Summary | |
short |
first()
Returns the smallest number in this set. |
short |
getFirst()
|
short |
getLast()
|
short |
last()
Returns the largest number in this set. |
short |
max()
The largest number that can be stored in this set. |
short |
min()
The smallest number that can be stored in this set. |
Methods inherited from class edu.emory.mathcs.util.collections.shorts.AbstractShortInterval |
addInterval, ceiling, ceilingInterval, clear, complementSet, contains, containsInterval, descendingIntervalIterator, descendingIterator, enclosingInterval, firstInterval, floor, floorInterval, higher, higherInterval, intervalCount, intervalIterator, isEmpty, iterator, lastInterval, lower, lowerInterval, pollFirst, pollFirstInterval, pollLast, pollLastInterval, removeInterval, retainInterval, size, subSet, toString |
Methods inherited from class edu.emory.mathcs.util.collections.shorts.AbstractShortSortedSet |
headSet, retainAll, tailSet, toCompactString |
Methods inherited from class edu.emory.mathcs.util.collections.shorts.AbstractShortSet |
addAll, equals, hashCode, removeAll |
Methods inherited from class edu.emory.mathcs.util.collections.shorts.AbstractShortCollection |
add, containsAll, remove, toArray, toArray |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.emory.mathcs.util.collections.shorts.ShortSortedSet |
headSet, tailSet, toCompactString |
Methods inherited from interface edu.emory.mathcs.util.collections.shorts.ShortSet |
add, addAll, containsAll, equals, hashCode, remove, removeAll, retainAll, toArray, toArray |
Constructor Detail |
public ShortCollections.SimpleInterval(short first, short last)
Method Detail |
public short getFirst()
getFirst
in class AbstractShortInterval
public short getLast()
getLast
in class AbstractShortInterval
public short first()
ShortSortedSet
first
in interface ShortSortedSet
first
in class AbstractShortInterval
public short last()
ShortSortedSet
last
in interface ShortSortedSet
last
in class AbstractShortInterval
public short min()
ShortSet
min
in interface ShortSet
min
in class AbstractShortInterval
public short max()
ShortSet
max
in interface ShortSet
max
in class AbstractShortInterval
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |