Click or drag to resize

IHListT Interface

Concurrent, distributed implementation of IListTIList

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

Type Parameters

T

The IHListT 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.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from IListT.)
Top
Methods
  NameDescription
Public methodAdd(T)
Adds an item to the ICollectionT.
(Inherited from ICollectionT.)
Public methodAdd(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).
Public methodAddAllTE(ICollectionTE)
Adds all.
(Inherited from IHCollectionT.)
Public methodAddAllTE(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.)
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 methodGet
Returns the element in the specified position in this list
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 methodIndexOf
Determines the index of a specific item in the IListT.
(Inherited from IListT.)
Public methodInsert
Inserts an item to the IListT at the specified index.
(Inherited from IListT.)
Public methodIsEmpty
Determines whether this instance is empty.
(Inherited from IHCollectionT.)
Public methodLastIndexOf
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.
Public methodRemove(T)
Removes the first occurrence of a specific object from the ICollectionT.
(Inherited from ICollectionT.)
Public methodRemove(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).
Public methodRemoveAllTE
Removes all of the elements in the specified collection from this collection.
(Inherited from IHCollectionT.)
Public methodRemoveAt
Removes the IListT item at the specified index.
(Inherited from IListT.)
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 methodSet
Replaces the element at the specified position in this list with the specified element.
Public methodSize
Gets the number of elements contained in the collection.
(Inherited from IHCollectionT.)
Public methodSubList
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.)
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
See Also