Package | Description |
---|---|
org.opentrafficsim.base.immutablecollections |
Contains a set of immutable collection interfaces and wrapper implementations.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ImmutableNavigableSet<E>
A
ImmutableSortedSet extended with navigation methods reporting closest matches for given search targets. |
Modifier and Type | Class and Description |
---|---|
class |
ImmutableTreeSet<E>
An immutable wrapper for a TreeSet.
|
Modifier and Type | Method and Description |
---|---|
ImmutableSortedSet<E> |
ImmutableTreeSet.headSet(E toElement)
Returns a view of the portion of this immutable set whose elements are strictly less than toElement.
|
ImmutableSortedSet<E> |
ImmutableSortedSet.headSet(E toElement)
Returns a view of the portion of this immutable set whose elements are strictly less than toElement.
|
ImmutableSortedSet<K> |
ImmutableTreeMap.keySet()
Returns a
ImmutableSortedSet view of the keys contained in this map. |
ImmutableSortedSet<K> |
ImmutableSortedMap.keySet()
Return an ImmutableSortedSet view of the keys contained in this immutable map.
|
ImmutableSortedSet<K> |
ImmutableNavigableMap.keySet()
Returns a
ImmutableSortedSet view of the keys contained in this map. |
ImmutableSortedSet<E> |
ImmutableTreeSet.subSet(E fromElement,
E toElement)
Returns a view of the portion of this immutable set whose elements range from fromElement, inclusive, to
toElement, exclusive.
|
ImmutableSortedSet<E> |
ImmutableSortedSet.subSet(E fromElement,
E toElement)
Returns a view of the portion of this immutable set whose elements range from fromElement, inclusive, to
toElement, exclusive.
|
ImmutableSortedSet<E> |
ImmutableTreeSet.tailSet(E fromElement)
Returns a view of the portion of this immutable set whose elements are greater than or equal to fromElement.
|
ImmutableSortedSet<E> |
ImmutableSortedSet.tailSet(E fromElement)
Returns a view of the portion of this immutable set whose elements are greater than or equal to fromElement.
|
Constructor and Description |
---|
ImmutableTreeSet(ImmutableSortedSet<E> immutableSortedSet) |
ImmutableTreeSet(ImmutableSortedSet<E> immutableSortedSet,
Immutable copyOrWrap) |
Copyright © 2014–2016 Delft University of Technology. All rights reserved.