Package org.apache.ignite.internal.util
Class GridSerializableSet<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- org.apache.ignite.internal.util.GridSerializableSet<E>
-
- All Implemented Interfaces:
Serializable,Iterable<E>,Collection<E>,Set<E>
- Direct Known Subclasses:
GridBoundedLinkedHashSet,GridConcurrentSkipListSet,GridListSet,GridSetWrapper
public abstract class GridSerializableSet<E> extends AbstractSet<E> implements Serializable
MakesAbstractSetasSerializableand is useful for making anonymous serializable sets. It has no extra logic or state in addition toAbstractSet.Note that methods
AbstractCollection.contains(Object)andAbstractCollection.remove(Object)implemented inAbstractCollectionfully iterate through collection so you need to make sure to override these methods if it's possible to create efficient implementations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridSerializableSet()
-
Method Summary
-
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, retainAll, size, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-