public class Cursor extends Object
| Constructor and Description |
|---|
Cursor(CharTrieIndex charTrieIndex,
com.simiacryptus.text.CursorData data,
short depth)
Instantiates a new Cursor.
|
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getDocument()
Gets document.
|
int |
getDocumentId()
Gets document id.
|
int |
getPosition()
Gets position.
|
char |
getToken()
Gets token.
|
boolean |
hasNext()
Has next boolean.
|
Cursor |
next()
Next cursor.
|
public Cursor(CharTrieIndex charTrieIndex, com.simiacryptus.text.CursorData data, short depth)
charTrieIndex - the char trie indexdata - the datadepth - the depthpublic CharSequence getDocument()
public boolean hasNext()
public char getToken()
public Cursor next()
public int getPosition()
public int getDocumentId()
Copyright © 2019 SimiaCryptus Software. All rights reserved.