Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | List of all members
Loyc.Collections.IMRange< T > Interface Template Reference

A mutable random-access range. More...


Source file:
Inheritance diagram for Loyc.Collections.IMRange< T >:
Loyc.Collections.IMBRange< T > Loyc.Collections.IRange< out T > Loyc.Collections.IBRange< out T > Loyc.Collections.IMFRange< T > Loyc.Collections.IBRange< out T > Loyc.Collections.IListSource< out T > Loyc.ICloneable< out T > Loyc.Collections.IIndexed< in K, out V > Loyc.Collections.ITryGet< in K, out V > Loyc.Collections.ISource< out T > Loyc.Collections.IHasLast< out T > Loyc.ICloneable< out T > Loyc.Collections.IFRange< out T > Loyc.Collections.IHasMFirst< T > Loyc.Collections.IFRange< out T > Loyc.Collections.IHasLast< out T > Loyc.ICloneable< out T > Loyc.Collections.IFRange< out T > Loyc.Collections.ArraySlice< T >

Remarks

A mutable random-access range.

IMRange models a shrinkable array. You can modify elements or shrink the array, but not add anything new; this is a useful interface for some divide-and-conquer problems, such as the quick sort.

Please see IFRange{T} for general documentation about ranges.

Properties

new T this[int index] [get, set]
 
- Properties inherited from Loyc.Collections.IMBRange< T >
new T Last [get, set]
 Gets or sets the value of the last item in the range. More...
 
- Properties inherited from Loyc.Collections.IHasFirst< out T >
First [get]
 Gets the first item in the deque. More...
 
- Properties inherited from Loyc.Collections.IIsEmpty
bool IsEmpty [get]
 
- Properties inherited from Loyc.Collections.IHasLast< out T >
Last [get]
 Gets the first item in the collection. More...
 
- Properties inherited from Loyc.Collections.IHasMFirst< T >
new T First [get, set]
 
- Properties inherited from Loyc.Collections.ISource< out T >
new int Count [get]
 Gets the number of items in the collection. More...
 
- Properties inherited from Loyc.Collections.ICount
int Count [get]
 Gets the number of items in the collection. More...
 
- Properties inherited from Loyc.Collections.IIndexed< in K, out V >
this[K key] [get]
 Gets the value associated with the specified key. More...
 

Additional Inherited Members

- Public Member Functions inherited from Loyc.Collections.IBRange< out T >
PopLast (out bool fail)
 Removes the last item from the range and returns it. More...
 
- Public Member Functions inherited from Loyc.Collections.IFRange< out T >
PopFirst (out bool fail)
 Removes the first item from the range and returns it. More...
 
- Public Member Functions inherited from Loyc.ICloneable< out T >
Clone ()
 
- Public Member Functions inherited from Loyc.Collections.IListSource< out T >
IListSource< T > Slice (int start, int count=int.MaxValue)
 Returns a sub-range of this list. More...
 
- Public Member Functions inherited from Loyc.Collections.ITryGet< in K, out V >
TryGet (K key, out bool fail)
 Gets the item for the specified key or index, and does not throw an exception on failure. More...