Class AbstractEnumerable2<T>

java.lang.Object
org.apache.calcite.linq4j.DefaultEnumerable<T>
org.apache.calcite.linq4j.AbstractEnumerable2<T>
Type Parameters:
T - Element type
All Implemented Interfaces:
Iterable<T>, Enumerable<T>, ExtendedEnumerable<T>, ExtendedOrderedEnumerable<T>, OrderedEnumerable<T>, RawEnumerable<T>

public abstract class AbstractEnumerable2<T> extends DefaultEnumerable<T>
Abstract implementation of the Enumerable interface that implements the extension methods.

It is helpful to derive from this class if you are implementing Enumerable, because Enumerable has so many extension methods, but it is not required.

  • Constructor Details

    • AbstractEnumerable2

      public AbstractEnumerable2()
  • Method Details

    • enumerator

      public Enumerator<T> enumerator()
      Description copied from interface: RawEnumerable
      Returns an enumerator that iterates through a collection.