Class ScanPositionsTwoWay
java.lang.Object
uk.ac.gda.client.microfocus.scan.util.ScanPositionsTwoWay
- All Implemented Interfaces:
ScanPositionProvider,Iterable<Object>
A ScanPositionProvider which flips every other line of data for use in two-way (back and forth) 2D map scans.
-
Constructor Summary
ConstructorsConstructorDescriptionScanPositionsTwoWay(Scannable firstScannable, double start, double stop, double step) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface gda.scan.ScanPositionProvider
iterator
-
Constructor Details
-
Method Details
-
get
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
-
toString
-