HERE Android SDK Developer's Guide

PathTree

The class PathTree is a member of com.here.android.mpa.electronic_horizon .

Class Summary

public final class PathTree

extends java.lang.Object

Represents a tree like structure where each PathTree contains multiple children and links.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in PathTree
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public PathTreeRange getChildren ()

public LinkRange getLinks ()

public int getOffsetCentimeters ()

public PathTree getParent ()

Note: The parent property of the root path tree is null.

public float getProbability ()

Note: The value of the property can be in range from 0 to 1.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents a tree like structure where each PathTree contains multiple children and links.

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public PathTreeRange getChildren ()

Returns:

Enumerator of type PathTreeRange, which allows to iterate through all the child path trees.

Returns:

Enumerator of type LinkRange, which allows to iterate through all the links of the path tree.

public int getOffsetCentimeters ()

Returns:

The distance from the logical beginning of parent path to the start of the path tree in centimeters.

public PathTree getParent ()

Note: The parent property of the root path tree is null.

Returns:

The parent path tree in the hierarchy.

public float getProbability ()

Note: The value of the property can be in range from 0 to 1.

Returns:

The probability of taking this path.

public int hashCode ()

For documentation, see java.lang.Object