Class WriteConvertedIterableInterval<A,B>

All Implemented Interfaces:
Iterable<B>, Dimensions, EuclideanSpace, Interval, IterableInterval<B>, IterableRealInterval<B>, RealInterval, Typed<B>, View

public class WriteConvertedIterableInterval<A,B> extends AbstractConvertedIterableInterval<A,B>
TODO
  • Field Details

  • Constructor Details

  • Method Details

    • cursor

      public WriteConvertedCursor<A,B> cursor()
      Description copied from interface: IterableRealInterval

      Returns a RealCursor that iterates with optimal speed without calculating the location at each iteration step. Localization is performed on demand.

      Use this where localization is required rarely/ not for each iteration.

      Returns:
      fast iterating iterator
    • localizingCursor

      public WriteConvertedCursor<A,B> localizingCursor()
      Description copied from interface: IterableRealInterval

      Returns a RealLocalizable Iterator that calculates its location at each iteration step. That is, localization is performed with optimal speed.

      Use this where localization is required often/ for each iteration.

      Returns:
      fast localizing iterator
    • getType

      public B getType()
      Description copied from interface: IterableRealInterval
      Get an instance of T.

      It should not be assumed that the returned T instance is an independent copy. In particular, repeated calls to getType() may return the same instance.

      The default implementation returns IterableRealInterval.firstElement(). Derived classes may choose different implementations for improved performance.

      Returns:
      an instance of T