E - the type of content of this Setpublic interface ImmutableSet<E> extends ImmutableCollection<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.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Force to redefine equals for the implementations of immutable collection classes.
|
int |
hashCode()
Force to redefine hashCode for the implementations of immutable collection classes.
|
Set<E> |
toSet()
Returns a modifiable copy of this immutable set.
|
contains, containsAll, containsAll, isCopy, isEmpty, isWrap, iterator, parallelStream, size, spliterator, stream, toArray, toArray, toCollectionSet<E> toSet()
boolean equals(Object obj)
equals in interface ImmutableCollection<E>equals in class Objectobj - the object to compare this collection withint hashCode()
hashCode in interface ImmutableCollection<E>hashCode in class ObjectCopyright © 2014–2016 Delft University of Technology. All rights reserved.