|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfiftyone.mobile.detection.entities.BaseEntity
fiftyone.mobile.detection.entities.Map
public class Map
A node index contains the characters and related child nodes of the current node should any of the characters match at the position.
| Field Summary | |
|---|---|
private String |
name
|
private int |
nameIndex
|
| Constructor Summary | |
|---|---|
Map(Dataset dataSet,
int index,
BinaryReader reader)
Constructs a new instance of NodeIndex |
|
| Method Summary | |
|---|---|
int |
compareTo(Map other)
Compares this node index to another. |
String |
getName()
The name of the map. |
(package private) void |
init()
Called after the entire data set has been loaded to ensure any further initialisation steps that require other items in the data set can be completed. |
String |
toString()
Converts the node index into a string. |
| Methods inherited from class fiftyone.mobile.detection.entities.BaseEntity |
|---|
binarySearch, getDataSet, getIndex, readIntegerArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String name
private final int nameIndex
| Constructor Detail |
|---|
public Map(Dataset dataSet,
int index,
BinaryReader reader)
dataSet - The data set the node is contained withinindex - The index of this object in the Node| Method Detail |
|---|
public String getName()
throws IOException
IOException
void init()
throws IOException
IOExceptionpublic int compareTo(Map other)
compareTo in interface Comparable<Map>other - The node index to compare
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||