Interface ConcurrentSet<E>
-
- Type Parameters:
E- The generic class
- All Superinterfaces:
Collection<E>,Iterable<E>,Set<E>
- All Known Implementing Classes:
ConcurrentHashSet
public interface ConcurrentSet<E> extends Set<E>
A ConcurrentSet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddIfAbsent(E o)-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
addIfAbsent
boolean addIfAbsent(E o)
-
-