Concurrent, distributed implementation of IListTIList
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9
Syntax
public interface IHList<T> : IList<T>, IHCollection<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IDistributedObject
Type Parameters
- T
The IHListT 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.) | |
Item | Gets or sets the element at the specified index. (Inherited from IListT.) |
Methods
Name | Description | |
---|---|---|
Add(T) |
Adds the specified item.
(Inherited from IHCollectionT.) | |
Add(Int32, T) |
Inserts the specified element at the specified position in this list.
Shifts the element currently at that position
(if any) and any subsequent elements to the right (adds one to their
indices).
| |
AddAllTE(ICollectionTE) |
Adds all.
(Inherited from IHCollectionT.) | |
AddAllTE(Int32, ICollectionTE) |
Inserts all of the elements in the specified collection into this
list at the specified position (optional operation). Shifts the
element currently at that position (if any) and any subsequent
elements to the right (increases their indices). The new elements
will appear in this list in the order that they are returned by the
specified collection's iterator. The behavior of this operation is
undefined if the specified collection is modified while the
operation is in progress. (Note that this will occur if the specified
collection is this list, and it's nonempty.)
| |
AddItemListener | Adds an item listener for this collection. (Inherited from IHCollectionT.) | |
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.
(Inherited from IHCollectionT.) | |
CopyTo | (Inherited from ICollectionT.) | |
Destroy | Destroys this object cluster-wide. (Inherited from IDistributedObject.) | |
Get |
Returns the element in the specified position in this list
| |
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.) | |
IndexOf | Determines the index of a specific item in the IListT. (Inherited from IListT.) | |
Insert | Inserts an item to the IListT at the specified index. (Inherited from IListT.) | |
IsEmpty |
Determines whether this instance is empty.
(Inherited from IHCollectionT.) | |
LastIndexOf |
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
More formally, returns the highest index i such that
(o == null ? get(i) == null : o.equals(get(i)))
or -1 if there is no such index.
| |
Remove(T) | Removes the first occurrence of a specific object from the ICollectionT. (Inherited from ICollectionT.) | |
Remove(Int32) |
Removes the first occurrence of the specified element from this list,
if it is present (optional operation). If this list does not contain
the element, it is unchanged. More formally, removes the element with
the lowest index i such that
(o==null ? get(i)==null : o.equals(get(i)))
(if such an element exists). Returns true if this list
contained the specified element (or equivalently, if this list changed
as a result of the call).
| |
RemoveAllTE |
Removes all of the elements in the specified collection from this collection.
(Inherited from IHCollectionT.) | |
RemoveAt | Removes the IListT item at the specified index. (Inherited from IListT.) | |
RemoveItemListener | Removes the specified item listener. (Inherited from IHCollectionT.) | |
RetainAllTE |
Retains only the elements in this collection that are contained in the specified collection (optional operation).
(Inherited from IHCollectionT.) | |
Set |
Replaces the element at the specified position in this list with the
specified element.
| |
Size |
Gets the number of elements contained in the collection.
(Inherited from IHCollectionT.) | |
SubList |
Returns a view of the portion of this list between the specified
fromIndex, inclusive, and toIndex, exclusive. (If
fromIndex and toIndex are equal, the returned list is
empty.)
| |
ToArray |
Returns an array containing all of the elements in this collection.
(Inherited from IHCollectionT.) | |
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
(Inherited from IHCollectionT.) |
See Also