Package com.semedy.reasoner.app
Class MultiResultEnumerator
java.lang.Object
com.semedy.reasoner.app.MultiResultEnumerator
- All Implemented Interfaces:
ResultEnumerator,Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone the iteratorvoidclose()close the iteratorget a result bufferbooleanIs the enumerator at the end?booleanAre there more elements?voidMove to next element (the next element is found in the buffer)
-
Constructor Details
-
MultiResultEnumerator
-
-
Method Details
-
hasMoreElements
Description copied from interface:ResultEnumeratorAre there more elements?- Specified by:
hasMoreElementsin interfaceResultEnumerator- Returns:
- true if there are more elements
- Throws:
IOExceptionEDBException
-
nextElement
Description copied from interface:ResultEnumeratorMove to next element (the next element is found in the buffer)- Specified by:
nextElementin interfaceResultEnumerator- Throws:
IOExceptionEDBException
-
hasFinished
Description copied from interface:ResultEnumeratorIs the enumerator at the end?- Specified by:
hasFinishedin interfaceResultEnumerator- Returns:
- true if there is no more result
- Throws:
IOExceptionEDBException
-
getBuffer
Description copied from interface:ResultEnumeratorget a result buffer- Specified by:
getBufferin interfaceResultEnumerator- Returns:
- buffer for results
-
close
Description copied from interface:ResultEnumeratorclose the iterator- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceResultEnumerator- Throws:
IOException
-
cloneEnumerator
Description copied from interface:ResultEnumeratorclone the iterator- Specified by:
cloneEnumeratorin interfaceResultEnumerator- Returns:
- Throws:
IOExceptionEDBException
-