Package | Description |
---|---|
org.helenus.commons.collections | |
org.helenus.commons.collections.graph |
Modifier and Type | Method and Description |
---|---|
DirectedGraph.Node<T> |
DirectedGraph.get(T val)
Gets a node from this graph given its value.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Comparable<? super T>> |
DirectedGraph.Node.comparingByValue()
Gets a comparator that compares
DirectedGraph.Node in natural
order on value. |
static <T> Comparator<DirectedGraph.Node<T>> |
DirectedGraph.Node.comparingByValue(Comparator<? super T> cmp)
Gets a comparator that compares
DirectedGraph.Node by value using
the given Comparator . |
java.util.stream.Stream<DirectedGraph.Node<T>> |
DirectedGraph.Node.edges()
Gets a stream of the edge nodes leaving this node.
|
Set<DirectedGraph.Node<T>> |
DirectedGraph.Node.getEdges()
Gets an immutable view of the edge nodes leaving this node.
|
Set<DirectedGraph.Node<T>> |
DirectedGraph.nodeSet()
Gets a
Set view of all the nodes contained in this directed graph. |
Modifier and Type | Method and Description |
---|---|
DirectedGraph.Node<T> |
ConcurrentHashDirectedGraph.get(T val)
Gets a node from this graph given its value.
|
Modifier and Type | Method and Description |
---|---|
Set<DirectedGraph.Node<T>> |
ConcurrentHashDirectedGraph.nodeSet()
Gets a
Set view of all the nodes contained in this directed graph. |
Copyright (C) 2015-2017 The Helenus Driver Project Authors.