Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.emory.mathcs.util.collections.longs
Class LongCollections.SimpleInterval

    java.lang.Object
      edu.emory.mathcs.util.collections.longs.AbstractLongCollection
          edu.emory.mathcs.util.collections.longs.AbstractLongSet
              edu.emory.mathcs.util.collections.longs.AbstractLongSortedSet
                  edu.emory.mathcs.util.collections.longs.AbstractLongInterval
                      edu.emory.mathcs.util.collections.longs.LongCollections.SimpleInterval

All Implemented Interfaces:
  LongCollection, LongInterval, LongSet, LongSortedSet

Enclosing class:
  LongCollections

public static class LongCollections.SimpleInterval
extends AbstractLongInterval

Nested Class Summary

Nested classes inherited from class edu.emory.mathcs.util.collections.longs.AbstractLongInterval
`AbstractLongInterval.ComplementView, AbstractLongInterval.ConstrainedView, AbstractLongInterval.SimpleIntervalItemIterator, AbstractLongInterval.SimpleReverseIntervalItemIterator`

Nested classes inherited from class edu.emory.mathcs.util.collections.longs.AbstractLongSortedSet
`AbstractLongSortedSet.AbstractComplementSubView, AbstractLongSortedSet.AbstractSubView, AbstractLongSortedSet.ForwardIntervalItemIterator, AbstractLongSortedSet.ReverseIntervalItemIterator`

Constructor Summary
`LongCollections.SimpleInterval(long first, long last)`

Method Summary
`long` | `first()` Returns the smallest number in this set.
`long` | `getFirst()`
`long` | `getLast()`
`long` | `last()` Returns the largest number in this set.
`long` | `max()` The largest number that can be stored in this set.
`long` | `min()` The smallest number that can be stored in this set.

Methods inherited from class edu.emory.mathcs.util.collections.longs.AbstractLongInterval
`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, size64, subSet, toString`

Methods inherited from class edu.emory.mathcs.util.collections.longs.AbstractLongSortedSet
`headSet, retainAll, tailSet, toCompactString`

Methods inherited from class edu.emory.mathcs.util.collections.longs.AbstractLongSet
`addAll, equals, hashCode, removeAll`

Methods inherited from class edu.emory.mathcs.util.collections.longs.AbstractLongCollection
`add, containsAll, remove, size, 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.longs.LongSortedSet
`headSet, tailSet, toCompactString`

Methods inherited from interface edu.emory.mathcs.util.collections.longs.LongSet
`add, addAll, containsAll, equals, hashCode, remove, removeAll, retainAll, size, toArray, toArray`

Constructor Detail

### LongCollections.SimpleInterval

    public LongCollections.SimpleInterval(long first,
                                          long last)

Method Detail

### getFirst

    public long getFirst()

  Specified by:
    `getFirst` in class `AbstractLongInterval`

### getLast

    public long getLast()

  Specified by:
    `getLast` in class `AbstractLongInterval`

### first

    public long first()

  Description copied from interface: `LongSortedSet`
  Returns the smallest number in this set.

  Specified by:
    `first` in interface `LongSortedSet`
  Overrides:
    `first` in class `AbstractLongInterval`

### last

    public long last()

  Description copied from interface: `LongSortedSet`
  Returns the largest number in this set.

  Specified by:
    `last` in interface `LongSortedSet`
  Overrides:
    `last` in class `AbstractLongInterval`

### min

    public long min()

  Description copied from interface: `LongSet`
  The smallest number that can be stored in this set.

  Specified by:
    `min` in interface `LongSet`
  Overrides:
    `min` in class `AbstractLongInterval`

### max

    public long max()

  Description copied from interface: `LongSet`
  The largest number that can be stored in this set.

  Specified by:
    `max` in interface `LongSet`
  Overrides:
    `max` in class `AbstractLongInterval`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD