23 T
this[
int idx] {
get; }
28 public static class IIndexableExtensions {
34 var arr = ArrayPool<T>.Spawn(indexable.Count);
35 for (
int i = 0; i < indexable.Count; i++) {
36 arr[i] = indexable[i];
38 return new Query<T>(arr, indexable.Count);
This easy-to-implement interface represents the ability to index into a collection of elements of typ...
IndexableEnumerator(IIndexable< Element > indexable)
IIndexable< Element > indexable
IndexableEnumerator< Element > GetEnumerator()
A Query object is a type of immutable ordered collection of elements that can be used to perform usef...