Class SimpleDynamicSliceViewIterator
java.lang.Object
org.eclipse.dawnsci.analysis.dataset.slicer.SimpleDynamicSliceViewIterator
- All Implemented Interfaces:
Iterator<org.eclipse.january.dataset.ILazyDataset>,ISliceViewIterator
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleDynamicSliceViewIterator(org.eclipse.january.dataset.IDynamicDataset lazy, org.eclipse.january.dataset.IDynamicDataset key, int dataSize, int maxNumber) -
Method Summary
Modifier and TypeMethodDescriptionint[]getShape()Get the shape of the subsampled viewbooleanhasNext()org.eclipse.january.dataset.ILazyDatasetnext()voidreset()voidsetMaxTimeout(int maxTimeout) Timeout in MillisecondsvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
SimpleDynamicSliceViewIterator
public SimpleDynamicSliceViewIterator(org.eclipse.january.dataset.IDynamicDataset lazy, org.eclipse.january.dataset.IDynamicDataset key, int dataSize, int maxNumber)
-
-
Method Details
-
setMaxTimeout
public void setMaxTimeout(int maxTimeout) Timeout in Milliseconds- Parameters:
maxTimeout-
-
updateShape
public void updateShape() -
hasNext
public boolean hasNext() -
next
public org.eclipse.january.dataset.ILazyDataset next() -
reset
public void reset()- Specified by:
resetin interfaceISliceViewIterator
-
getShape
public int[] getShape()Get the shape of the subsampled view- Specified by:
getShapein interfaceISliceViewIterator- Returns:
- shape
-