Concurrent, distributed, partitioned, listenable collection.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.6.4.0
Syntax
public interface IHCollection<T> : ICollection<T>, IEnumerable<T>, IEnumerable, IDistributedObject
Type Parameters
- T
 
The IHCollectionT type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements contained in the ICollectionT.  (Inherited from ICollectionT.) | |
| IsReadOnly | Gets a value indicating whether the ICollectionT is read-only.  (Inherited from ICollectionT.) | 
Methods
| Name | Description | |
|---|---|---|
| Add | 
            Adds the specified item.
              | |
| AddAllTE | 
            Adds all.
              | |
| AddItemListener | Adds an item listener for this collection.  | |
| Clear | Removes all items from the ICollectionT.  (Inherited from ICollectionT.) | |
| Contains | Determines whether the ICollectionT contains a specific value.  (Inherited from ICollectionT.) | |
| ContainsAllTE | 
            Determines whether this collection contains all of the elements in the specified collection.
              | |
| CopyTo | (Inherited from ICollectionT.) | |
| Destroy | Destroys this object cluster-wide.  (Inherited from IDistributedObject.) | |
| GetEnumerator | Returns an enumerator that iterates through the collection.  (Inherited from IEnumerableT.) | |
| GetName | Returns the unique name for this IDistributedObject.  (Inherited from IDistributedObject.) | |
| GetPartitionKey | Returns the key of partition this IDistributedObject is assigned to.  (Inherited from IDistributedObject.) | |
| GetServiceName | Returns the service name for this object.  (Inherited from IDistributedObject.) | |
| IsEmpty | 
            Determines whether this instance is empty.
              | |
| Remove | Removes the first occurrence of a specific object from the ICollectionT.  (Inherited from ICollectionT.) | |
| RemoveAllTE | 
            Removes all of the elements in the specified collection from this collection.
              | |
| RemoveItemListener | Removes the specified item listener.  | |
| RetainAllTE | 
            Retains only the elements in this collection that are contained in the specified collection (optional operation).
              | |
| Size | 
            Gets the number of elements contained in the collection.
              | |
| ToArray | 
            Returns an array containing all of the elements in this collection.
              | |
| ToArrayTE(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
              | 
Remarks
See Also