|
Enhanced C#
Loyc library documentation
|
A mutable random-access range. More...
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 > | |
| 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 > | |
| 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 > | |
| 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 > | |
| 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 > | |
| 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 > | |
| 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 > | |
| 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... | |
1.8.7