Enhanced C#
Language of your choice: library documentation
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< T > Loyc.Collections.IBRange< T > Loyc.Collections.IMFRange< T > Loyc.Collections.IFRange< 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.IBRange< T >
Last [get]
 Returns the value of the last item in the range. More...
 
- Properties inherited from Loyc.Collections.IMFRange< T >
new T First [get, set]
 Gets or sets the value of the first item in the range. More...
 
- Properties inherited from Loyc.Collections.IFRange< T >
First [get]
 Returns the first value in the range, without popping it. More...
 

Additional Inherited Members

- Public Member Functions inherited from Loyc.Collections.IBRange< T >
PopLast (out bool fail)
 Removes the last item from the range and returns it. More...
 
- Public Member Functions inherited from Loyc.Collections.IFRange< T >
PopFirst (out bool fail)
 Removes the first item from the range and returns it. More...