Interface ConcurrentSet<E>

  • Type Parameters:
    E - The generic class
    All Superinterfaces:
    java.util.Collection<E>, java.lang.Iterable<E>, java.util.Set<E>
    All Known Implementing Classes:
    ConcurrentHashSet

    public interface ConcurrentSet<E>
    extends java.util.Set<E>
    A ConcurrentSet
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean addIfAbsent​(E o)  
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
    • Method Detail

      • addIfAbsent

        boolean addIfAbsent​(E o)