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

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.5.0.6
Syntax

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

Type Parameters

T

The IHSetT type exposes the following members.

Methods

  NameDescription
Public methodAdd(T)
Adds the specified item.
(Inherited from IHCollectionT.)
Public methodAdd(T) (Inherited from ICollectionT.)
Public methodAddAllTE
Adds all.
(Inherited from IHCollectionT.)
Public methodAddItemListener
Adds an item listener for this collection.
(Inherited from IHCollectionT.)
Public methodClear (Inherited from ICollectionT.)
Public methodContains (Inherited from ICollectionT.)
Public methodContainsAllTE
Determines whether this collection contains all of the elements in the specified collection.
(Inherited from IHCollectionT.)
Public methodCopyTo (Inherited from ICollectionT.)
Public methodDestroy
Destroys this object cluster-wide.
(Inherited from IDistributedObject.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableT.)
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 ICollectionT.)
Public methodRemoveAllTE
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 methodRetainAllTE
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 methodToArrayTE(TE)
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 ICollectionT.)
Public propertyIsReadOnly (Inherited from ICollectionT.)
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