Class BimorphUtils.BimorphPositionProvider

java.lang.Object
uk.ac.gda.bimorph.BimorphUtils.BimorphPositionProvider
All Implemented Interfaces:
ScanPositionProvider, Iterable<Object>
Enclosing class:
BimorphUtils

public static class BimorphUtils.BimorphPositionProvider extends Object implements ScanPositionProvider
  • Constructor Details

    • BimorphPositionProvider

      public BimorphPositionProvider(double[] initial, double inc)
  • Method Details

    • get

      public double[] get(int index)
      Description copied from interface: ScanPositionProvider
      Returns the element at the specified position in this list.
      Specified by:
      get in interface ScanPositionProvider
      Parameters:
      index - index of the element to return
      Returns:
      the element at the specified position in this list
    • size

      public int size()
      Description copied from interface: ScanPositionProvider
      Returns the number of elements in this list. If this list contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.
      Specified by:
      size in interface ScanPositionProvider
      Returns:
      the number of elements in this list