E
- the type of elements maintained by this set
Serializable
, Cloneable
, Iterable<E>
, Collection<E>
, SequencedCollection<E>
, SequencedSet<E>
, Set<E>
Constructors
Constructs a new, empty linked hash set with the default initial capacity (16) and load factor (0.75).
Constructs a new, empty linked hash set with the specified initial capacity and the default load factor (0.75).
Constructs a new, empty linked hash set with the specified initial capacity and load factor.
Constructs a new linked hash set with the same elements as the specified collection.
void
Adds an element as the first element of this collection (optional operation).
void
Adds an element as the last element of this collection (optional operation).
Gets the first element of this collection.
Gets the last element of this collection.
Creates a new, empty LinkedHashSet suitable for the expected number of elements.
Removes and returns the first element of this collection (optional operation).
Removes and returns the last element of this collection (optional operation).
Returns a reverse-ordered
viewof this collection.
Creates a
late-bindingand
fail-fastSpliterator
over the elements in this set.
Methods declared in class java.util.HashSetadd, clear, clone, contains, isEmpty, iterator, newHashSet, remove, size, toArray, toArray
Methods declared in interface java.util.Setadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4