Package de.hybris.platform.regioncache
Class ConcurrentHashSet<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- de.hybris.platform.regioncache.ConcurrentHashSet<E>
-
- Type Parameters:
E-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<E>,java.util.Collection<E>,java.util.Set<E>
public class ConcurrentHashSet<E> extends java.util.AbstractSet<E> implements java.io.SerializableThis class implements the Set interface, backed by a ConcurrentHashMap instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConcurrentHashSet()ConcurrentHashSet(int initialCapacity)ConcurrentHashSet(int initialCapacity, float loadFactor)ConcurrentHashSet(java.util.Collection<? extends E> collection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(E element)voidclear()booleancontains(java.lang.Object element)booleanisEmpty()java.util.Iterator<E>iterator()booleanremove(java.lang.Object element)intsize()-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
-
-
-
-
Constructor Detail
-
ConcurrentHashSet
public ConcurrentHashSet()
-
ConcurrentHashSet
public ConcurrentHashSet(java.util.Collection<? extends E> collection)
-
ConcurrentHashSet
public ConcurrentHashSet(int initialCapacity, float loadFactor)
-
ConcurrentHashSet
public ConcurrentHashSet(int initialCapacity)
-
-