|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICVReader
Interface for sequential reading of candidate vectors from the candidate-vectors-file.
| Method Summary | |
|---|---|
void |
close()
Closes underlying files, streams, etc. |
long |
getNumCVs()
Returns number of candidate vectors in the file |
long |
getNumCVsRead()
Returns how many vectors have been read already. |
int |
getNumElemsPerCV()
Returns number of elements per candidate vector |
boolean |
hasNext()
Returns are there more vectors to be read. |
boolean |
isPredicateOK()
Call this method immediately after calling readCV to find out if the read vector passes predicate check or not |
int[] |
readCV()
Reads next candidate vector from file. |
| Method Detail |
|---|
int[] readCV()
throws IOException
IOException - if an I/O error occursboolean isPredicateOK()
void close()
throws IOException
IOException - if an I/O error occursboolean hasNext()
long getNumCVs()
int getNumElemsPerCV()
long getNumCVsRead()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||