IHSetE InterfaceHazelcast .Net Client Class Library
Concurrent, distributed implementation of ISet

Namespace: Hazelcast.Core
Assembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.9
Syntax

public interface IHSet<E> : IHCollection<E>, 
	ICollection<E>, IEnumerable<E>, IEnumerable, IDistributedObject

Type Parameters

E

The IHSetE type exposes the following members.

Methods

  NameDescription
Public methodAdd(T)
Adds the specified item.
(Inherited from IHCollectionT.)
Public methodAdd(T) (Inherited from ICollectionE.)
Public methodAddAllT (Inherited from IHCollectionT.)
Public methodAddItemListener
Adds an item listener for this collection.
(Inherited from IHCollectionT.)
Public methodClear (Inherited from ICollectionE.)
Public methodContains (Inherited from ICollectionE.)
Public methodContainsAllT
Determines whether this collection contains all of the elements in the specified collection.
(Inherited from IHCollectionT.)
Public methodCopyTo (Inherited from ICollectionE.)
Public methodDestroy
Destroys this object cluster-wide.
(Inherited from IDistributedObject.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableE.)
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
Public methodGetName
Returns the unique name for this IDistributedObject.
(Inherited from IDistributedObject.)
Public methodGetPartitionKey
Returns the key of partition this IDistributedObject is assigned to.
(Inherited from IDistributedObject.)
Public methodGetServiceName
Returns the service name for this object.
(Inherited from IDistributedObject.)
Public methodIsEmpty
Determines whether this instance is empty.
(Inherited from IHCollectionT.)
Public methodRemove (Inherited from ICollectionE.)
Public methodRemoveAllT
Removes all of the elements in the specified collection from this collection.
(Inherited from IHCollectionT.)
Public methodRemoveItemListener
Removes the specified item listener.
(Inherited from IHCollectionT.)
Public methodRetainAllT
Retains only the elements in this collection that are contained in the specified collection (optional operation).
(Inherited from IHCollectionT.)
Public methodSize
Gets the number of elements contained in the collection.
(Inherited from IHCollectionT.)
Public methodToArray
Returns an array containing all of the elements in this collection.
(Inherited from IHCollectionT.)
Public methodToArrayT(T)
Returns an array containing all of the elements in this collection the runtime type of the returned array is that of the specified array
(Inherited from IHCollectionT.)
Top
Properties

  NameDescription
Public propertyCount (Inherited from ICollectionE.)
Public propertyIsReadOnly (Inherited from ICollectionE.)
Top
Remarks

This class is not a general-purpose ISet 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.
See Also

Reference