| Package | Description |
|---|---|
| com.mastfrog.graph | |
| com.mastfrog.graph.dynamic |
| Modifier and Type | Method and Description |
|---|---|
ObjectPath |
ObjectPath.appending(T obj)
Create a new path appending the passed object.
|
ObjectPath<T> |
ObjectPath.childPath()
Get a copy of this path, lopping off the first element.
|
ObjectPath<T> |
ObjectPath.parentPath()
Get a copy of this path, lopping off the last element.
|
ObjectPath |
ObjectPath.prepending(T obj)
Create a new path prepending the passed object.
|
ObjectPath<T> |
ObjectPath.reversed()
Create a new path whose elements are this one's in reverse order.
|
<T> ObjectPath<T> |
IntPath.toObjectPath(IndexedResolvable<T> indexed)
Create an ObjectPath from this IntPath.
|
<T> ObjectPath<T> |
IntPath.toObjectPath(List<T> indexed)
Create an ObjectPath from this IntPath.
|
<T extends Comparable<T>> |
IntPath.toObjectPath(T... indexed)
Create an ObjectPath from this IntPath.
|
| Modifier and Type | Method and Description |
|---|---|
List<ObjectPath<T>> |
ObjectGraph.pathsBetween(T a,
T b)
Get the set of paths that exist between two nodes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ObjectPath.compareTo(ObjectPath o) |
boolean |
ObjectPath.containsPath(ObjectPath<T> other)
Determine if this path contains the sequence of elements in another path.
|
| Modifier and Type | Method and Description |
|---|---|
List<ObjectPath<T>> |
DynamicGraph.pathsBetween(T a,
T b) |
Copyright © 2010–2021 Mastfrog Technologies. All rights reserved.