Enhanced C#
Language of your choice: library documentation
Public Member Functions | List of all members
Loyc.Collections.ISparseListEx< T > Interface Template Reference

A sparse list that supports additional methods including InsertRange(int, ISparseListSource<T>). More...


Source file:
Inheritance diagram for Loyc.Collections.ISparseListEx< T >:
Loyc.Collections.ISparseList< T > Loyc.Collections.IListEx< T > Loyc.Collections.ISparseListSource< T > Loyc.Collections.IListAndListSource< T > Loyc.Collections.IListAndListSource< T > Loyc.Collections.ICollectionEx< T > Loyc.Collections.IArray< T > Loyc.Collections.IListRangeMethods< T > Loyc.Collections.IAddRange< T > Loyc.Collections.IArraySink< T > Loyc.Collections.IListSource< T > Loyc.Collections.IIsEmpty Loyc.Collections.IAddRange< T > Loyc.Collections.ICollectionSink< T > Loyc.Collections.ICollectionAndReadOnly< T > Loyc.Collections.ICollectionAndReadOnly< T > Loyc.Collections.IListSource< T > Loyc.Collections.ICollectionAndReadOnly< T > Loyc.Collections.IListSource< T > Loyc.Collections.IListSource< T > Loyc.Collections.SparseAList< T >

Remarks

A sparse list that supports additional methods including InsertRange(int, ISparseListSource<T>).

See also
ISparseList<T>

Public Member Functions

void InsertRange (int index, ISparseListSource< T > list)
 Inserts another sparse list into this one. More...
 
- Public Member Functions inherited from Loyc.Collections.ISparseList< T >
void ClearSpace (int index, int count=1)
 Unsets the range of indices index to index+count-1 inclusive. If index + count > Count, the sparse list shall enlarge Count to be equal to index + count. More...
 
void InsertSpace (int index, int count=1)
 Inserts empty space starting at the specified index. More...
 
- Public Member Functions inherited from Loyc.Collections.ISparseListSource< T >
NextHigherItem (ref int?index)
 Increases index by at least one to reach the next index that is not classified as empty space, and returns the item at that index. More...
 
NextLowerItem (ref int?index)
 Decreases index by at least one to reach the next index that is not classified as empty space, and returns the item at that index. More...
 
bool IsSet (int index)
 Determines whether a value exists at the specified index. More...
 
- Public Member Functions inherited from Loyc.Collections.IListSource< T >
TryGet (int index, out bool fail)
 Gets the item at the specified index, and does not throw an exception on failure. More...
 
IRange< T > Slice (int start, int count=int.MaxValue)
 Returns a sub-range of this list. More...
 
- Public Member Functions inherited from Loyc.Collections.ICollectionEx< T >
int RemoveAll (Predicate< T > match)
 Removes the all the elements that match the conditions defined by the specified predicate. More...
 
- Public Member Functions inherited from Loyc.Collections.ICollectionSink< T >
void Clear ()
 
bool Remove (T item)
 
- Public Member Functions inherited from Loyc.Collections.IAdd< T >
void Add (T item)
 
- Public Member Functions inherited from Loyc.Collections.IAddRange< T >
void AddRange (IEnumerable< T > e)
 
void AddRange (IReadOnlyCollection< T > s)
 
- Public Member Functions inherited from Loyc.Collections.IArray< T >
bool TrySet (int index, T value)
 
- Public Member Functions inherited from Loyc.Collections.IListRangeMethods< T >
void InsertRange (int index, IEnumerable< T > e)
 
void InsertRange (int index, IReadOnlyCollection< T > s)
 
void RemoveRange (int index, int amount)
 

Additional Inherited Members

- Properties inherited from Loyc.Collections.ICount
int Count [get]
 Gets the number of items in the collection. More...
 
- Properties inherited from Loyc.Collections.IIsEmpty
bool IsEmpty [get]
 
- Properties inherited from Loyc.Collections.IArray< T >
new T this[int index] [get, set]
 Gets or sets an element of the array-like collection. More...
 
- Properties inherited from Loyc.Collections.IArraySink< T >
this[int index] [set]
 

Member Function Documentation

void Loyc.Collections.ISparseListEx< T >.InsertRange ( int  index,
ISparseListSource< T >  list 
)

Inserts another sparse list into this one.

Implemented in Loyc.Collections.SparseAList< T >.