E - the type of content of this Setpublic interface ImmutableSet<E> extends ImmutableCollection<E>
Copyright (c) 2016-2019 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
| 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 - Object; the object to compare this collection withint hashCode()
hashCode in interface ImmutableCollection<E>hashCode in class ObjectCopyright © 2018–2019 Delft University of Technology. All rights reserved.