Class PlanarCursor1D<T extends NativeType<T>>

    • Constructor Detail

      • PlanarCursor1D

        public PlanarCursor1D​(PlanarImg<T,​?> container)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Description copied from class: PlanarCursor
        Note: This test is fragile in a sense that it returns true for elements after the last element as well.
        Specified by:
        hasNext in interface java.util.Iterator<T extends NativeType<T>>
        Specified by:
        hasNext in interface Iterator
        Overrides:
        hasNext in class PlanarCursor<T extends NativeType<T>>
        Returns:
        false for the last element
      • localize

        public void localize​(int[] position)
        Description copied from interface: Localizable
        Write the current position into the passed array.
        Specified by:
        localize in interface Localizable
        Overrides:
        localize in class PlanarCursor<T extends NativeType<T>>
        Parameters:
        position - receives current position