- clear() - Method in interface org.dishevelled.graph.Graph
-
Clear the nodes and edges in this graph (optional operation).
- clear() - Method in class org.dishevelled.graph.impl.AbstractCollectionDecorator
- clear() - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Clear the nodes and edges in this graph (optional operation).
- clear() - Method in class org.dishevelled.graph.impl.AbstractMapDecorator
- clear() - Method in class org.dishevelled.graph.impl.AbstractSetDecorator
- clear() - Method in class org.dishevelled.graph.impl.GraphImpl
-
Clear the nodes and edges in this graph (optional operation).
- connectedComponents(Graph<N, E>) - Static method in class org.dishevelled.graph.impl.GraphUtils
-
Find the connected components of the specified graph.
- contains(Object) - Method in class org.dishevelled.graph.impl.AbstractCollectionDecorator
- contains(Object) - Method in class org.dishevelled.graph.impl.AbstractSetDecorator
- containsAll(Collection<?>) - Method in class org.dishevelled.graph.impl.AbstractCollectionDecorator
- containsAll(Collection<?>) - Method in class org.dishevelled.graph.impl.AbstractSetDecorator
- containsKey(Object) - Method in class org.dishevelled.graph.impl.AbstractMapDecorator
- containsValue(Object) - Method in class org.dishevelled.graph.impl.AbstractMapDecorator
- createEdge(Node<N, E>, Node<N, E>, E) - Method in interface org.dishevelled.graph.Graph
-
Create and return a new edge in this graph with the specified value
connecting the specified source and target nodes (optional operation).
- createEdge(Node<N, E>, Node<N, E>, E) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Create and return a new edge in this graph with the specified value
connecting the specified source and target nodes (optional operation).
- createEdge(Node<N, E>, Node<N, E>, E) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Create and return a new edge in this graph with the specified value
connecting the specified source and target nodes (optional operation).
- createGraph() - Static method in class org.dishevelled.graph.impl.GraphUtils
-
Create and return a new directed graph.
- createGraph(int, int) - Static method in class org.dishevelled.graph.impl.GraphUtils
-
Create and return a new directed graph with the specified initial node
and edge capacities.
- createGraph(Graph<N, E>) - Static method in class org.dishevelled.graph.impl.GraphUtils
-
Create and return a new directed graph with the same structure and same node
and edge values as the specified graph.
- createNode(N) - Method in interface org.dishevelled.graph.Graph
-
Create and return a new node in this graph with the specified value (optional operation).
- createNode(N) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Create and return a new node in this graph with the specified value (optional operation).
- createNode(N) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Create and return a new node in this graph with the specified value (optional operation).
- Edge<N,E> - Interface in org.dishevelled.graph
-
Typed directed graph edge.
- edgeCount() - Method in interface org.dishevelled.graph.Graph
-
Return the number of edges in this graph.
- edgeCount() - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Return the number of edges in this graph.
- edgeCount() - Method in class org.dishevelled.graph.impl.GraphImpl
-
Return the number of edges in this graph.
- edgeMap(T) - Method in interface org.dishevelled.graph.Graph
-
Return a map of type <Edge<N, E>, T> with
the edges in this graph as keys.
- edgeMap(T) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Return a map of type <Edge<N, E>, T> with
the edges in this graph as keys.
- edgeMap(T) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Return a map of type <Edge<N, E>, T> with
the edges in this graph as keys.
- edges() - Method in interface org.dishevelled.graph.Graph
-
Return a read-only set view of the edges in this graph.
- edges() - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Return a read-only set view of the edges in this graph.
- edges() - Method in class org.dishevelled.graph.impl.GraphImpl
-
Return a read-only set view of the edges in this graph.
- edgeValues() - Method in interface org.dishevelled.graph.Graph
-
Return a read-only collection view of the edge values in this graph.
- edgeValues() - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Return a read-only collection view of the edge values in this graph.
- edgeValues() - Method in class org.dishevelled.graph.impl.GraphImpl
-
Return a read-only collection view of the edge values in this graph.
- entrySet() - Method in class org.dishevelled.graph.impl.AbstractMapDecorator
- equals(Object) - Method in class org.dishevelled.graph.impl.AbstractCollectionDecorator
- equals(Object) - Method in class org.dishevelled.graph.impl.AbstractMapDecorator
- equals(Object) - Method in class org.dishevelled.graph.impl.AbstractMapEntryDecorator
- equals(Object) - Method in class org.dishevelled.graph.impl.AbstractSetDecorator
- forEachEdge(UnaryProcedure<Edge<N, E>>) - Method in interface org.dishevelled.graph.Graph
-
Apply the specified procedure to each edge in this graph.
- forEachEdge(UnaryPredicate<Edge<N, E>>, UnaryProcedure<Edge<N, E>>) - Method in interface org.dishevelled.graph.Graph
-
Apply the specified procedure to each edge in this graph
accepted by the specified predicate.
- forEachEdge(UnaryProcedure<Edge<N, E>>) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Apply the specified procedure to each edge in this graph.
- forEachEdge(UnaryPredicate<Edge<N, E>>, UnaryProcedure<Edge<N, E>>) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Apply the specified procedure to each edge in this graph
accepted by the specified predicate.
- forEachEdge(UnaryProcedure<Edge<N, E>>) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Apply the specified procedure to each edge in this graph.
- forEachEdge(UnaryPredicate<Edge<N, E>>, UnaryProcedure<Edge<N, E>>) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Apply the specified procedure to each edge in this graph
accepted by the specified predicate.
- forEachEdgeValue(UnaryProcedure<? super E>) - Method in interface org.dishevelled.graph.Graph
-
Apply the specified procedure to each edge value in this graph.
- forEachEdgeValue(UnaryPredicate<E>, UnaryProcedure<E>) - Method in interface org.dishevelled.graph.Graph
-
Apply the specified procedure to each edge value in this graph
accepted by the specified predicate.
- forEachEdgeValue(UnaryProcedure<? super E>) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Apply the specified procedure to each edge value in this graph.
- forEachEdgeValue(UnaryPredicate<E>, UnaryProcedure<E>) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Apply the specified procedure to each edge value in this graph
accepted by the specified predicate.
- forEachEdgeValue(UnaryProcedure<? super E>) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Apply the specified procedure to each edge value in this graph.
- forEachEdgeValue(UnaryPredicate<E>, UnaryProcedure<E>) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Apply the specified procedure to each edge value in this graph
accepted by the specified predicate.
- forEachNode(UnaryProcedure<Node<N, E>>) - Method in interface org.dishevelled.graph.Graph
-
Apply the specified procedure to each node in this graph.
- forEachNode(UnaryPredicate<Node<N, E>>, UnaryProcedure<Node<N, E>>) - Method in interface org.dishevelled.graph.Graph
-
Apply the specified procedure to each node in this graph
accepted by the specified predicate.
- forEachNode(UnaryProcedure<Node<N, E>>) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Apply the specified procedure to each node in this graph.
- forEachNode(UnaryPredicate<Node<N, E>>, UnaryProcedure<Node<N, E>>) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Apply the specified procedure to each node in this graph
accepted by the specified predicate.
- forEachNode(UnaryProcedure<Node<N, E>>) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Apply the specified procedure to each node in this graph.
- forEachNode(UnaryPredicate<Node<N, E>>, UnaryProcedure<Node<N, E>>) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Apply the specified procedure to each node in this graph
accepted by the specified predicate.
- forEachNodeValue(UnaryProcedure<? super N>) - Method in interface org.dishevelled.graph.Graph
-
Apply the specified procedure to each node value in this graph.
- forEachNodeValue(UnaryPredicate<N>, UnaryProcedure<N>) - Method in interface org.dishevelled.graph.Graph
-
Apply the specified procedure to each node value in this graph
accepted by the specified predicate.
- forEachNodeValue(UnaryProcedure<? super N>) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Apply the specified procedure to each node value in this graph.
- forEachNodeValue(UnaryPredicate<N>, UnaryProcedure<N>) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Apply the specified procedure to each node value in this graph
accepted by the specified predicate.
- forEachNodeValue(UnaryProcedure<? super N>) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Apply the specified procedure to each node value in this graph.
- forEachNodeValue(UnaryPredicate<N>, UnaryProcedure<N>) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Apply the specified procedure to each node value in this graph
accepted by the specified predicate.
- get(Object) - Method in class org.dishevelled.graph.impl.AbstractMapDecorator
- getCollection() - Method in class org.dishevelled.graph.impl.AbstractCollectionDecorator
-
Return a reference to the collection this decorator decorates.
- getGraph() - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Return a reference to the graph this decorator decorates.
- getIterator() - Method in class org.dishevelled.graph.impl.AbstractIteratorDecorator
-
\ * Return a reference to the iterator this decorator decorates.
- getKey() - Method in class org.dishevelled.graph.impl.AbstractMapEntryDecorator
- getMap() - Method in class org.dishevelled.graph.impl.AbstractMapDecorator
-
Return a reference to the map this decorator decorates.
- getSet() - Method in class org.dishevelled.graph.impl.AbstractSetDecorator
-
Return a reference to the set this decorator decorates.
- getValue() - Method in interface org.dishevelled.graph.Edge
-
Return the value at this edge.
- getValue() - Method in class org.dishevelled.graph.impl.AbstractMapEntryDecorator
- getValue() - Method in interface org.dishevelled.graph.Node
-
Return the value at this node.
- Graph<N,E> - Interface in org.dishevelled.graph
-
Directed graph with typed values on nodes and edges.
- GraphImpl<N,E> - Class in org.dishevelled.graph.impl
-
Directed graph implementation based on two HashSets.
- GraphImpl() - Constructor for class org.dishevelled.graph.impl.GraphImpl
-
Create a new directed graph.
- GraphImpl(int, int) - Constructor for class org.dishevelled.graph.impl.GraphImpl
-
Create a new directed graph with the specified initial node
and edge capacities.
- GraphImpl(Graph<N, E>) - Constructor for class org.dishevelled.graph.impl.GraphImpl
-
Create a new directed graph with the same structure and same node
and edge values as the specified graph (copy constructor).
- GraphUtils - Class in org.dishevelled.graph.impl
-
Static utility methods on directed graphs.
- next() - Method in class org.dishevelled.graph.impl.AbstractIteratorDecorator
- Node<N,E> - Interface in org.dishevelled.graph
-
Typed directed graph node.
- nodeCount() - Method in interface org.dishevelled.graph.Graph
-
Return the number of nodes in this graph.
- nodeCount() - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Return the number of nodes in this graph.
- nodeCount() - Method in class org.dishevelled.graph.impl.GraphImpl
-
Return the number of nodes in this graph.
- nodeMap(T) - Method in interface org.dishevelled.graph.Graph
-
Return a map of type <Node<N, E>, T> with
the nodes in this graph as keys.
- nodeMap(T) - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Return a map of type <Node<N, E>, T> with
the nodes in this graph as keys.
- nodeMap(T) - Method in class org.dishevelled.graph.impl.GraphImpl
-
Return a map of type <Node<N, E>, T> with
the nodes in this graph as keys.
- nodes() - Method in interface org.dishevelled.graph.Graph
-
Return a read-only set view of the nodes in this graph.
- nodes() - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Return a read-only set view of the nodes in this graph.
- nodes() - Method in class org.dishevelled.graph.impl.GraphImpl
-
Return a read-only set view of the nodes in this graph.
- nodeValues() - Method in interface org.dishevelled.graph.Graph
-
Return a read-only collection view of the node values in this graph.
- nodeValues() - Method in class org.dishevelled.graph.impl.AbstractGraphDecorator
-
Return a read-only collection view of the node values in this graph.
- nodeValues() - Method in class org.dishevelled.graph.impl.GraphImpl
-
Return a read-only collection view of the node values in this graph.