fiftyone.mobile.detection.entities
Class NodeNumericIndex
java.lang.Object
fiftyone.mobile.detection.entities.BaseEntity
fiftyone.mobile.detection.entities.NodeNumericIndex
public class NodeNumericIndex
- extends BaseEntity
Represents a child of a node with a numeric value rather than character
values. Used to support the Numeric matching method if an exact match can't
be found.
|
Field Summary |
private Node |
_node
|
(package private) int |
RelatedNodeOffset
The node offset which relates to this sequence of characters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelatedNodeOffset
final int RelatedNodeOffset
- The node offset which relates to this sequence of characters.
_node
private Node _node
NodeNumericIndex
NodeNumericIndex(Dataset dataSet,
short value,
int relatedNodeOffset)
- Parameters:
dataSet - The data set the node is contained withinvalue - The value of the numeric index. Added to it's index field.relatedNodeOffset - The offset in the list of nodes to the node the
index relates to
getValue
int getValue()
- Returns:
- The numeric value of the index.
getNode
Node getNode()
throws IOException
- Returns:
- The node the numeric index relates to.
- Throws:
IOException