Package | Description |
---|---|
org.elasticsearch.common.collect |
Modifier and Type | Method and Description |
---|---|
CopyOnWriteHashSet<T> |
CopyOnWriteHashSet.copyAndAdd(T entry)
Copy the current set and return a copy that contains or replaces
entry . |
CopyOnWriteHashSet<T> |
CopyOnWriteHashSet.copyAndAddAll(Collection<? extends T> entries)
Copy the current set and return a copy that is the union of the current
set and
entries , potentially replacing existing entries in
case of equality. |
CopyOnWriteHashSet<T> |
CopyOnWriteHashSet.copyAndRemove(Object entry)
Copy the current set and return a copy that removes
entry
if it exists. |
CopyOnWriteHashSet<T> |
CopyOnWriteHashSet.copyAndRemoveAll(Collection<?> entries)
Copy the current set and return a copy that is the difference of the current
set and
entries . |
static <T> CopyOnWriteHashSet<T> |
CopyOnWriteHashSet.copyOf(Collection<? extends T> set)
Return a copy of the provided set.
|
Copyright © 2009–2015. All rights reserved.