com.hazelcast.core

## Interface ISet<E>

- Type Parameters:
    `E` - the type of elements maintained by this set
  All Superinterfaces:
    Collection<E>, DistributedObject, ICollection<E>, Iterable<E>, Set<E>
  All Known Implementing Classes:
    ClientSetProxy

      public interface ISet<E>
      extends Set<E>, ICollection<E>

  Concurrent, distributed implementation of `Set`

  Note: This class is not a general-purpose `Set` implementation! While this class implements the `Set` interface, it intentionally violates `Set`'s general contract, which mandates the use of the equals() method when comparing objects. Instead of the equals method this implementation compares the serialized byte version of the objects.

  Supports Quorum {@link com.hazelcast.config.QuorumConfig} since 3.10 in cluster versions 3.10 and higher.

  See Also:
    `Set`

- - ### Method Summary

    - ### Methods inherited from interface java.util.Set

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

    - ### Methods inherited from interface com.hazelcast.core.ICollection

      `addItemListener, getName, removeItemListener`

    - ### Methods inherited from interface java.util.Collection

      `parallelStream, removeIf, stream`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach`

    - ### Methods inherited from interface com.hazelcast.core.DistributedObject

      `destroy, getPartitionKey, getServiceName`

Copyright © 2019. All rights reserved.