| Package | Description |
|---|---|
| org.gcube.data.trees.data | |
| org.gcube.data.trees.patterns |
| Modifier and Type | Method and Description |
|---|---|
static Edge |
Nodes.e(Edge e)
Clones a given
Edge. |
static Edge |
Nodes.e(QName name,
Node node)
|
static Edge |
Nodes.e(QName name,
Object v)
|
static Edge |
Nodes.e(String name,
Node node)
|
static Edge |
Nodes.e(String name,
Object v)
|
Edge |
InnerNode.edge(QName l)
Returns the edges with a given label, if exactly one exists.
|
Edge |
InnerNode.edge(String l)
Returns the edges with a given label, if exactly one exists.
|
Edge |
InnerNode.edge(String ns,
String l)
Returns the edges with a given label, if exactly one exists.
|
| Modifier and Type | Method and Description |
|---|---|
List<Edge> |
InnerNode.edges()
Returns all the edges.
|
List<Edge> |
InnerNode.edges(QName l)
Returns the outgoing edges with a given label.
|
List<Edge> |
InnerNode.edges(String l)
Returns the outgoing edges with a given label.
|
List<Edge> |
InnerNode.edges(String ns,
String l)
Returns the outgoing edges with a given label.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
InnerNode.add(Edge... es)
Adds one or more edges.
|
boolean |
InnerNode.add(Edge e)
Adds one edge.
|
static Edge |
Nodes.e(Edge e)
Clones a given
Edge. |
static InnerNode |
Nodes.n(Edge... es)
|
static InnerNode |
Nodes.n(String id,
Edge... es)
|
boolean |
InnerNode.remove(Edge... es)
Removes one or more edges.
|
boolean |
InnerNode.remove(Edge e)
Removes an edge.
|
static Tree |
Nodes.t(Edge... edges)
|
static Tree |
Nodes.t(String id,
Edge... edges)
|
static Tree |
Nodes.t(String collID,
String id,
Edge... edges)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
InnerNode.add(List<Edge> es)
Adds one or more edges.
|
boolean |
InnerNode.remove(List<Edge> es)
Removes one or more edges.
|
| Constructor and Description |
|---|
Edge(Edge e)
Copy constructor, creates a clone of a given edge.
|
InnerNode(Edge... edges)
Constructs an instance with a given edges.
|
InnerNode(String id,
Edge... edges)
Constructs an instance with a given identifier and edges.
|
InnerNode(String id,
Map<QName,String> attributes,
Edge... edges)
Constructs an instance with a given identifier, attributes, and edges.
|
InnerNode(String id,
Node.State state,
Map<QName,String> attributes,
Edge... edges)
Constructs an instance with a given identifier, state, attributes, and edges.
|
Tree(Edge... edges)
Constructs an instance with given edges.
|
Tree(String id,
Edge... edges)
Constructs an instance with a given identifier and edges.
|
Tree(String id,
Map<QName,String> attributes,
Edge... edges)
Constructs an instance with a given identifier, attributes, and edges.
|
Tree(String id,
Node.State state,
Map<QName,String> attributes,
Edge... edges) |
Tree(String sourceId,
String id,
Edge... edges)
Constructs an instance in a given source with a given identifier and given edges.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Edge> |
EdgePattern.matchLabels(List<Edge> edges) |
List<Edge> |
OnlyPattern.prune(List<Edge> edges)
Returns the edges from a given list which match the pattern.
|
List<Edge> |
AtLeastPattern.prune(List<Edge> edges)
Returns the edges from a given list which match the pattern.
|
List<Edge> |
OptPattern.prune(List<Edge> edges)
Returns the edges from a given list which match the pattern.
|
List<Edge> |
OnePattern.prune(List<Edge> edges)
Returns the edges from a given list which match the pattern.
|
List<Edge> |
ManyPattern.prune(List<Edge> edges)
Returns the edges from a given list which match the pattern.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
OnlyPattern.matches(List<Edge> edges)
Indicates whether the pattern matches some of the edges in a given list.
|
boolean |
AtLeastPattern.matches(List<Edge> edges)
Indicates whether the pattern matches some of the edges in a given list.
|
boolean |
OptPattern.matches(List<Edge> edges)
Indicates whether the pattern matches some of the edges in a given list.
|
boolean |
OnePattern.matches(List<Edge> edges)
Indicates whether the pattern matches some of the edges in a given list.
|
boolean |
ManyPattern.matches(List<Edge> edges)
Indicates whether the pattern matches some of the edges in a given list.
|
protected List<Edge> |
EdgePattern.matchLabels(List<Edge> edges) |
List<Edge> |
OnlyPattern.prune(List<Edge> edges)
Returns the edges from a given list which match the pattern.
|
List<Edge> |
AtLeastPattern.prune(List<Edge> edges)
Returns the edges from a given list which match the pattern.
|
List<Edge> |
OptPattern.prune(List<Edge> edges)
Returns the edges from a given list which match the pattern.
|
List<Edge> |
OnePattern.prune(List<Edge> edges)
Returns the edges from a given list which match the pattern.
|
List<Edge> |
ManyPattern.prune(List<Edge> edges)
Returns the edges from a given list which match the pattern.
|
Copyright © 2018. All Rights Reserved.