public abstract class PartialTreeLib extends Object
Constructor and Description |
---|
PartialTreeLib() |
Modifier and Type | Method and Description |
---|---|
static <Id,Node extends DownNode<Id>> |
down(com.google.common.collect.ImmutableSet<Node> nodeSet)
Create a PartialTree from an DownNode set.
|
static <Id,Node extends DownNode<Id>> |
down(Iterable<Node> nodeIterable)
Create a PartialTree from an DownNode iterable.
|
static <Id,Node extends DownNode<Id>> |
down(Node... nodeArray)
Create a PartialTree from an DownNode array.
|
static <Id,Node extends DownNode<Id>> |
down(Set<Node>... trees)
Create a PartialTree from the union of multiple DownNode sets (remember that PartialTree<Node>
extends Set<Node>).
|
static <Id,Node> PartialTree<Id,Node> |
tree(IdTree<Id> idTree,
com.google.common.collect.ImmutableBiMap<Id,Node> id__node)
Create a PartialTree from the nested IdTree (the arc structure) and the mapping between id and node.
|
static <Id,Node extends UpNode<Id>> |
up(com.google.common.collect.ImmutableSet<Node> nodeSet)
Create a PartialTree from an UpNode set.
|
static <Id,Node extends UpNode<Id>> |
up(Iterable<Node> nodeIterable)
Create a PartialTree from an UpNode iterable.
|
static <Id,Node extends UpNode<Id>> |
up(Node... nodeArray)
Create a PartialTree from an UpNode array.
|
static <Id,Node extends UpNode<Id>> |
up(Set<Node>... trees)
Create a PartialTree from the union of multiple UpNode sets (remember that PartialTree<Node> extends
Set<Node>).
|
public static <Id,Node> PartialTree<Id,Node> tree(IdTree<Id> idTree, com.google.common.collect.ImmutableBiMap<Id,Node> id__node)
public static <Id,Node extends UpNode<Id>> PartialTree<Id,Node> up(com.google.common.collect.ImmutableSet<Node> nodeSet)
public static <Id,Node extends UpNode<Id>> PartialTree<Id,Node> up(Iterable<Node> nodeIterable)
@SafeVarargs public static <Id,Node extends UpNode<Id>> PartialTree<Id,Node> up(Node... nodeArray)
@SafeVarargs public static <Id,Node extends UpNode<Id>> PartialTree<Id,Node> up(Set<Node>... trees)
public static <Id,Node extends DownNode<Id>> PartialTree<Id,Node> down(com.google.common.collect.ImmutableSet<Node> nodeSet)
public static <Id,Node extends DownNode<Id>> PartialTree<Id,Node> down(Iterable<Node> nodeIterable)
@SafeVarargs public static <Id,Node extends DownNode<Id>> PartialTree<Id,Node> down(Node... nodeArray)
@SafeVarargs public static <Id,Node extends DownNode<Id>> PartialTree<Id,Node> down(Set<Node>... trees)
Copyright © 2014. All rights reserved.