Class DynamicSliceViewIterator
java.lang.Object
org.eclipse.dawnsci.analysis.dataset.slicer.DynamicSliceViewIterator
- All Implemented Interfaces:
Iterator<org.eclipse.january.dataset.ILazyDataset>,ISliceViewIterator
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicSliceViewIterator(org.eclipse.january.dataset.IDynamicDataset lazy, org.eclipse.january.dataset.IDynamicDataset[] keys, org.eclipse.january.dataset.IDynamicDataset finished, int dataSize) DynamicSliceViewIterator(org.eclipse.january.dataset.IDynamicDataset lazy, org.eclipse.january.dataset.IDynamicDataset[] keys, org.eclipse.january.dataset.IDynamicDataset finished, int dataSize, boolean repeating) -
Method Summary
Modifier and TypeMethodDescriptionint[]getShape()Get the shape of the subsampled viewintgetTotal()Get the total number of views to be iterated overbooleanhasNext()org.eclipse.january.dataset.ILazyDatasetnext()Get the current view on the ILazyDatasetvoidremove()voidreset()Resets the iteratorvoidsetMaxTimeout(int maxTimeout) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
DynamicSliceViewIterator
public DynamicSliceViewIterator(org.eclipse.january.dataset.IDynamicDataset lazy, org.eclipse.january.dataset.IDynamicDataset[] keys, org.eclipse.january.dataset.IDynamicDataset finished, int dataSize) -
DynamicSliceViewIterator
public DynamicSliceViewIterator(org.eclipse.january.dataset.IDynamicDataset lazy, org.eclipse.january.dataset.IDynamicDataset[] keys, org.eclipse.january.dataset.IDynamicDataset finished, int dataSize, boolean repeating)
-
-
Method Details
-
setMaxTimeout
public void setMaxTimeout(int maxTimeout) -
updateShape
public void updateShape() -
hasNext
public boolean hasNext() -
reset
public void reset()Resets the iterator- Specified by:
resetin interfaceISliceViewIterator
-
next
public org.eclipse.january.dataset.ILazyDataset next()Get the current view on the ILazyDataset -
getTotal
public int getTotal()Get the total number of views to be iterated over- Returns:
- total;
-
getShape
public int[] getShape()Get the shape of the subsampled view- Specified by:
getShapein interfaceISliceViewIterator- Returns:
- shape
-
remove
public void remove()
-