T - the generic type of object@PublicApi public class Breadcrumb<T> extends java.lang.Object
NodeLocation inside a node. This means getNode() returns a Node which has a child
at getLocation()
A list of Breadcrumbs is used to identify the exact location of a specific node inside a tree.| Constructor and Description |
|---|
Breadcrumb(T node,
NodeLocation location) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
NodeLocation |
getLocation() |
T |
getNode() |
int |
hashCode() |
java.lang.String |
toString() |
public Breadcrumb(T node, NodeLocation location)
public T getNode()
public NodeLocation getLocation()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object