Package | Description |
---|---|
org.opentrafficsim.base.immutablecollections |
Contains a set of immutable collection interfaces and wrapper implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
ImmutableAbstractList<E>
An abstract base class for an immutable wrapper for a List.
|
class |
ImmutableArrayList<E>
An immutable wrapper for an ArrayList.
|
class |
ImmutableVector<E>
An immutable wrapper for a Vector.
|
Modifier and Type | Method and Description |
---|---|
ImmutableList<E> |
ImmutableVector.subList(int fromIndex,
int toIndex)
Returns a safe, immutable copy of the portion of this immutable list between the specified fromIndex, inclusive,
and toIndex, exclusive.
|
ImmutableList<E> |
ImmutableList.subList(int fromIndex,
int toIndex)
Returns a safe, immutable copy of the portion of this immutable list between the specified fromIndex, inclusive,
and toIndex, exclusive.
|
ImmutableList<E> |
ImmutableArrayList.subList(int fromIndex,
int toIndex)
Returns a safe, immutable copy of the portion of this immutable list between the specified fromIndex, inclusive,
and toIndex, exclusive.
|
Constructor and Description |
---|
ImmutableArrayList(ImmutableList<E> list) |
ImmutableArrayList(ImmutableList<E> list,
Immutable copyOrWrap) |
ImmutableVector(ImmutableList<E> list) |
ImmutableVector(ImmutableList<E> list,
Immutable copyOrWrap) |
Copyright © 2014–2016 Delft University of Technology. All rights reserved.