public class

BlueprintsHipsterGraphAdapter

extends Object
implements HipsterGraph<V, E>
java.lang.Object
   ↳ es.usc.citius.hipster.thirdparty.graphs.blueprints.BlueprintsHipsterGraphAdapter
Known Direct Subclasses

Class Overview

Simple graph adapter between a Blueprints graph and a HipsterGraph.

Summary

Public Constructors
BlueprintsHipsterGraphAdapter(Graph graph)
Public Methods
Iterable<GraphEdge<Vertex, Edge>> edges()
Returns an Iterable of the edges in the graph.
Iterable<GraphEdge<Vertex, Edge>> edgesOf(Vertex vertex)
Iterable<Vertex> vertices()
Returns an iterable of the vertices in the graph.
Protected Methods
static Iterable<GraphEdge<Vertex, Edge>> convertEdges(Iterable<Edge> edges)
[Expand]
Inherited Methods
From class java.lang.Object
From interface es.usc.citius.hipster.graph.HipsterGraph

Public Constructors

public BlueprintsHipsterGraphAdapter (Graph graph)

Public Methods

public Iterable<GraphEdge<Vertex, Edge>> edges ()

Returns an Iterable of the edges in the graph.

Returns

public Iterable<GraphEdge<Vertex, Edge>> edgesOf (Vertex vertex)

public Iterable<Vertex> vertices ()

Returns an iterable of the vertices in the graph.

Returns
  • iterable of vertices

Protected Methods

protected static Iterable<GraphEdge<Vertex, Edge>> convertEdges (Iterable<Edge> edges)