Package uk.ac.gda.bimorph
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 Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface gda.scan.ScanPositionProvider
iterator
-
Constructor Details
-
BimorphPositionProvider
public BimorphPositionProvider(double[] initial, double inc)
-
-
Method Details
-
get
public double[] get(int index) Description copied from interface:ScanPositionProviderReturns the element at the specified position in this list.- Specified by:
getin interfaceScanPositionProvider- 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:ScanPositionProviderReturns the number of elements in this list. If this list contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.- Specified by:
sizein interfaceScanPositionProvider- Returns:
- the number of elements in this list
-