Interface IList<T>
This is an indexed collection, where the item order is chosen by the user at insertion time.
NBNBNB: we need a description of the view functionality here!
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public interface IList<T> : IIndexed<T>, ISequenced<T>, ICollection<T>, IExtensible<T>, Collections.Generic.ICollection<T>, IDirectedCollectionValue<T>, ICollectionValue<T>, IShowable, IFormattable, IDirectedEnumerable<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, Collections.Generic.IEnumerable<T>, Collections.IEnumerable, IDisposable, Collections.Generic.IList<T>, Collections.IList
Type Parameters
Name | Description |
---|---|
T |
Properties
Name | Description |
---|---|
Count | |
FIFO | Since always add at the end of the list,
this describes if list has FIFO or LIFO semantics.
|
First | |
IsReadOnly | |
IsValid | |
Item[Int32] | On this list, this indexer is read/write. |
Last | |
Offset | |
Underlying | Null if this list is not a view. |
Methods
Name | Description |
---|---|
Add(T) | |
Clear() | |
Contains(T) | |
CopyTo(T[], Int32) | |
FindAll(Func<T, Boolean>) | Create a new list consisting of the items of this list satisfying a certain predicate. |
IndexOf(T) | Searches for an item in the list going forwards from the start. |
Insert(IList<T>, T) | Insert an item at the end of a compatible view, used as a pointer. The must be a view on the same list as
and the endpoint of must be
a valid insertion point of
|
InsertAll(Int32, Collections.Generic.IEnumerable<T>) | Insert into this list all items from an enumerable collection starting at a particular index. |
InsertFirst(T) | Insert an item at the front of this list. DuplicateNotAllowedException if the list has and the item is
already in the list. |
InsertLast(T) | Insert an item at the back of this list. DuplicateNotAllowedException if the list has and the item is
already in the list. |
IsSorted() | Check if this list is sorted according to the default sorting order for the item type T, as defined by the C5.Comparer`1 class |
IsSorted(Collections.Generic.IComparer<T>) | Check if this list is sorted according to a specific sorting order. |
LastViewOf(T) | Create a list view on this list containing the last occurrence of a particular item. NoSuchItemException if the item is not in this list. |
Map<V>(Func<T, V>) | Create a new list consisting of the results of mapping all items of this list. The new list will use the default equalityComparer for the item type V. |
Map<V>(Func<T, V>, Collections.Generic.IEqualityComparer<V>) | Create a new list consisting of the results of mapping all items of this list. The new list will use a specified equalityComparer for the item type. |
Remove() | Remove one item from the list: from the front if
is true, else from the back.
NoSuchItemException if this list is empty.
|
Remove(T) | |
RemoveAt(Int32) | Remove the item at a specific position of the list. |
RemoveFirst() | Remove one item from the front of the list. NoSuchItemException if this list is empty. |
RemoveLast() | Remove one item from the back of the list. NoSuchItemException if this list is empty. |
Reverse() | Reverse the list so the items are in the opposite sequence order. |
Shuffle() | Randomly shuffle the items of this list. |
Shuffle(Random) | Shuffle the items of this list according to a specific random source. |
Slide(Int32) | Slide this list view along the underlying list. |
Slide(Int32, Int32) | Slide this list view along the underlying list, changing its size. |
Sort() | Sort the items of the list according to the default sorting order for the item type T, as defined by the C5.Comparer`1 class |
Sort(Collections.Generic.IComparer<T>) | Sort the items of the list according to a specified sorting order. The sorting does not perform duplicate elimination or identify items according to the comparer or itemequalityComparer. I.e. the list as an unsequenced collection with binary equality, will not change. |
Span(IList<T>) | Returns null if is strictly to the left of this view
|
TrySlide(Int32) | |
TrySlide(Int32, Int32) | |
View(Int32, Int32) | Create a list view on this list.
|
ViewOf(T) | Create a list view on this list containing the (first) occurrence of a particular item. NoSuchItemException if the item is not in this list. |