Class SortedEnumeratorOneToOne
java.lang.Object
com.semedy.reasoner.reasoning.processes.SortedEnumeratorOneToOne
- All Implemented Interfaces:
TupleEnumerator
,Closeable
,AutoCloseable
- Author:
- Juergen.Angele
-
Constructor Summary
ConstructorDescriptionSortedEnumeratorOneToOne
(Index[] nullIndices, TupleEnumerator enm, int width) -
Method Summary
Modifier and TypeMethodDescriptionclones the enumeratorvoid
close()
close the enumeratorget a buffer where the elements are insertedboolean
flag the end of the enumerationboolean
Are there more elements in enumeration?void
creates the next element in the buffer
-
Constructor Details
-
SortedEnumeratorOneToOne
-
-
Method Details
-
hasMoreElements
Description copied from interface:TupleEnumerator
Are there more elements in enumeration?- Specified by:
hasMoreElements
in interfaceTupleEnumerator
- Throws:
IOException
EDBException
-
nextElement
Description copied from interface:TupleEnumerator
creates the next element in the buffer- Specified by:
nextElement
in interfaceTupleEnumerator
- Throws:
IOException
EDBException
-
hasFinished
Description copied from interface:TupleEnumerator
flag the end of the enumeration- Specified by:
hasFinished
in interfaceTupleEnumerator
- Throws:
IOException
EDBException
-
getBuffer
Description copied from interface:TupleEnumerator
get a buffer where the elements are inserted- Specified by:
getBuffer
in interfaceTupleEnumerator
- Returns:
-
close
Description copied from interface:TupleEnumerator
close the enumerator- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceTupleEnumerator
- Throws:
IOException
-
cloneEnumerator
Description copied from interface:TupleEnumerator
clones the enumerator- Specified by:
cloneEnumerator
in interfaceTupleEnumerator
- Throws:
IOException
EDBException
-