E
- the type of content of this Setpublic class ImmutableLinkedHashSet<E> extends ImmutableHashSet<E>
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
ImmutableLinkedHashSet(Collection<E> collection) |
ImmutableLinkedHashSet(Collection<E> collection,
Immutable copyOrWrap) |
ImmutableLinkedHashSet(ImmutableCollection<E> collection) |
ImmutableLinkedHashSet(ImmutableCollection<E> collection,
Immutable copyOrWrap) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getSet, toSet
contains, containsAll, containsAll, equals, forEach, hashCode, isEmpty, isWrap, iterator, parallelStream, size, spliterator, stream, toArray, toArray, toCollection
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isCopy
public ImmutableLinkedHashSet(Collection<E> collection)
collection
- the collection to use as the immutable set.public ImmutableLinkedHashSet(Collection<E> collection, Immutable copyOrWrap)
collection
- the collection to use as the immutable set.copyOrWrap
- COPY stores a safe, internal copy of the collection; WRAP stores a pointer to the original collectionpublic ImmutableLinkedHashSet(ImmutableCollection<E> collection)
collection
- the collection to use as the immutable set.public ImmutableLinkedHashSet(ImmutableCollection<E> collection, Immutable copyOrWrap)
collection
- the collection to use as the immutable set.copyOrWrap
- COPY stores a safe, internal copy of the collection; WRAP stores a pointer to the original collectionpublic final String toString()
toString
in class ImmutableHashSet<E>
Copyright © 2014–2016 Delft University of Technology. All rights reserved.