E
- the type of elements maintained by this set
Collection<E>
, Iterable<E>
EventSet
, NavigableSet<E>
, SequencedSet<E>
, SortedSet<E>
AbstractSet
, ConcurrentHashMap.KeySetView
, ConcurrentSkipListSet
, CopyOnWriteArraySet
, EnumSet
, HashSet
, JobStateReasons
, LinkedHashSet
, TreeSet
boolean
Adds the specified element to this set if it is not already present (optional operation).
boolean
Adds all of the elements in the specified collection to this set if they're not already present (optional operation).
void
Removes all of the elements from this set (optional operation).
boolean
Returns true
if this set contains the specified element.
boolean
Returns true
if this set contains all of the elements of the specified collection.
boolean
Compares the specified object with this set for equality.
int
Returns the hash code value for this set.
boolean
Returns true
if this set contains no elements.
Returns an iterator over the elements in this set.
Returns an unmodifiable set containing zero elements.
Returns an unmodifiable set containing one element.
Returns an unmodifiable set containing an arbitrary number of elements.
Returns an unmodifiable set containing two elements.
Returns an unmodifiable set containing three elements.
of(E e1, E e2, E e3, E e4)
Returns an unmodifiable set containing four elements.
of(E e1, E e2, E e3, E e4, E e5)
Returns an unmodifiable set containing five elements.
of(E e1, E e2, E e3, E e4, E e5, E e6)
Returns an unmodifiable set containing six elements.
of(E e1, E e2, E e3, E e4, E e5, E e6, E e7)
Returns an unmodifiable set containing seven elements.
of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8)
Returns an unmodifiable set containing eight elements.
of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)
Returns an unmodifiable set containing nine elements.
of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10)
Returns an unmodifiable set containing ten elements.
boolean
Removes the specified element from this set if it is present (optional operation).
boolean
Removes from this set all of its elements that are contained in the specified collection (optional operation).
boolean
Retains only the elements in this set that are contained in the specified collection (optional operation).
int
Returns the number of elements in this set (its cardinality).
Creates a Spliterator
over the elements in this set.
Returns an array containing all of the elements in this set.
<T> T[]
Returns an array containing all of the elements in this set; the runtime type of the returned array is that of the specified array.
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