|
Enhanced C#
Language of your choice: 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 | Back [get, set] |
| Gets or sets the value of the last item in the range. More... | |
Properties inherited from Loyc.Collections.IBRange< out T > | |
| T | Back [get] |
| Returns the value of the last item in the range. More... | |
Properties inherited from Loyc.Collections.IFRange< out T > | |
| T | Front [get] |
| Returns the first value in the range, without popping it. More... | |
Properties inherited from Loyc.Collections.IIsEmpty | |
| bool | IsEmpty [get] |
Properties inherited from Loyc.Collections.IMFRange< T > | |
| new T | Front [get, set] |
| Gets or sets the value of the first item in the range. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Loyc.Collections.IBRange< out T > | |
| T | PopBack (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 | PopFront (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 > | |
| 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... | |
1.8.7