Package com.j_spaces.kernel.list
Class ScanSingleListIterator<T>
java.lang.Object
com.j_spaces.kernel.list.ScanSingleListIterator<T>
- All Implemented Interfaces:
IObjectsList,IScanListIterator<T>
TODO add Javadoc
- Since:
- 8.03
- Version:
- 1.0
- Author:
- Yechiel Fefer
-
Constructor Summary
ConstructorsConstructorDescriptionScanSingleListIterator(IStoredList<T> list, boolean fifoScan) ScanSingleListIterator(IStoredList<T> list, boolean fifoScan, boolean alternatingThread) -
Method Summary
Modifier and TypeMethodDescriptionintif the scan is on a property index, currently supported for extended indexbooleanhasNext()booleanhasSize()booleanis the entry returned already matched against the searching template currently is true if the underlying scan made by CacheManager::EntriesIterbooleanis the list an iterator or basic list ?next()voidrelease SLHolder for this scanvoidremove()voidreuse(IStoredList<T> list) intsize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.j_spaces.kernel.list.IScanListIterator
createCopyForAlternatingThread, getAlreadyMatchedIndexPath, isExtensionIndex, isMultiListsIterator, noRematchNeeded
-
Constructor Details
-
ScanSingleListIterator
-
ScanSingleListIterator
-
-
Method Details
-
hasSize
public boolean hasSize()- Specified by:
hasSizein interfaceIScanListIterator<T>- Returns:
- true if the iterator knows its size, and size() can be called.
-
size
public int size()- Specified by:
sizein interfaceIScanListIterator<T>
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIScanListIterator<T>
-
next
- Specified by:
nextin interfaceIScanListIterator<T>
-
remove
public void remove() -
releaseScan
public void releaseScan()release SLHolder for this scan- Specified by:
releaseScanin interfaceIScanListIterator<T>
-
getAlreadyMatchedFixedPropertyIndexPos
public int getAlreadyMatchedFixedPropertyIndexPos()Description copied from interface:IScanListIteratorif the scan is on a property index, currently supported for extended index- Specified by:
getAlreadyMatchedFixedPropertyIndexPosin interfaceIScanListIterator<T>
-
isAlreadyMatched
public boolean isAlreadyMatched()Description copied from interface:IScanListIteratoris the entry returned already matched against the searching template currently is true if the underlying scan made by CacheManager::EntriesIter- Specified by:
isAlreadyMatchedin interfaceIScanListIterator<T>
-
isIterator
public boolean isIterator()Description copied from interface:IObjectsListis the list an iterator or basic list ?- Specified by:
isIteratorin interfaceIObjectsList
-
reuse
-