| Package | Description |
|---|---|
| fiftyone.mobile.detection | |
| fiftyone.mobile.detection.entities | |
| fiftyone.mobile.detection.factories |
| Modifier and Type | Field and Description |
|---|---|
private static Comparator<Node> |
Match.nodeComparator
Comparator used to order the nodes by length with the shortest first.
|
private List<Node> |
Match.nodes
List of nodes found for the match.
|
(package private) ArrayList<Node> |
Match.MatchState.nodes |
ReadonlyList<Node> |
Dataset.nodes
List of nodes the data set contains.
|
ReadonlyList<Node> |
Dataset.rootNodes
Nodes for each of the possible character positions in the user agent.
|
| Modifier and Type | Method and Description |
|---|---|
List<Node> |
Match.getNodes() |
ReadonlyList<Node> |
Dataset.getNodes()
List of nodes the data set contains.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
Match.getIndexOf(Node node)
Returns the start character position of the node within the target user
agent, or -1 if the node does not exist.
|
protected int |
NearestScore.getScore(Match match,
Node node)
If the sub string is contained in the target but in a different position
return the difference between the two sub string positions.
|
protected int |
ClosestScore.getScore(Match match,
Node node)
Returns the difference score between the node and the target user agent
working from right to left.
|
protected abstract int |
BaseScore.getScore(Match match,
Node node)
Gets the score for the specific node of the signature.
|
int |
Match.insertNode(Node node)
Inserts the node into the list checking to find it's correct position in
the list first.
|
| Modifier and Type | Field and Description |
|---|---|
private Node |
NodeNumericIndex._node |
private Node |
NodeIndex.node |
private Node |
Node.parent |
private Node |
Node.root |
| Modifier and Type | Method and Description |
|---|---|
Node |
Node.getCompleteNode(Match match)
Returns a complete node for the match object provided.
|
Node |
Node.getCompleteNumericNode(Match match) |
(package private) Node |
Node.getNextNode(Match match)
Returns the next node for the characters provided from the start index
for the number of characters specified.
|
(package private) Node |
NodeNumericIndex.getNode() |
(package private) Node |
NodeIndex.getNode()
The node this index relates to.
|
(package private) Node |
Node.getParent()
Returns the parent node for this node.
|
Node |
Node.getRoot()
Returns the root node for this node.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Node.compareTo(Node other)
Compares one node to another for the purposes of determining the
signature the node relates to.
|
private boolean |
Node.getIsOverlap(Node node)
Returns true if the node overlaps with this one.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Signature.compareTo(List<Node> nodes)
Compares this signature to a list of node offsets.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
RootNodeFactory.create(Dataset dataSet,
int index,
BinaryReader reader) |
Node |
NodeFactory.create(Dataset dataSet,
int index,
BinaryReader reader) |
| Modifier and Type | Method and Description |
|---|---|
int |
NodeFactory.getLength(Node entity) |