Click or drag to resize

IHSetT Interface

Concurrent, distributed implementation of ISet

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.2
Syntax
public interface IHSet<T> : IHCollection<T>, 
	ICollection<T>, IEnumerable<T>, IEnumerable, IDistributedObject

Type Parameters

T

The IHSetT type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the ICollectionT.
(Inherited from ICollectionT.)
Public propertyIsReadOnly
Gets a value indicating whether the ICollectionT is read-only.
(Inherited from ICollectionT.)
Top
Methods
  NameDescription
Public methodAdd
Adds the specified item.
(Inherited from IHCollectionT.)
Public methodAddAllTE
Adds all.
(Inherited from IHCollectionT.)
Public methodAddItemListener
Adds an item listener for this collection.
(Inherited from IHCollectionT.)
Public methodClear
Removes all items from the ICollectionT.
(Inherited from ICollectionT.)
Public methodContains
Determines whether the ICollectionT contains a specific value.
(Inherited from ICollectionT.)
Public methodContainsAllTE
Determines whether this collection contains all of the elements in the specified collection.
(Inherited from IHCollectionT.)
Public methodCopyTo
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
(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 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
Removes the first occurrence of a specific object from the ICollectionT.
(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
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