Top Fields Constructors Methods
org.jruby.dirgra

public Class Edge<T extends ExplicitVertexID, U>

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private Vertex<T, U>
private Vertex<T, U>
private U

Constructor Summary

AccessConstructor and Description
public
Edge(Vertex<T, U> source, Vertex<T, U> destination, U type)

Method Summary

Modifier and TypeMethod and Description
public Vertex<T, U>
public Vertex<T, U>
public U
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

destinationback to summary
private Vertex<T, U> destination
sourceback to summary
private Vertex<T, U> source
typeback to summary
private U type

Constructor Detail

Edgeback to summary
public Edge(Vertex<T, U> source, Vertex<T, U> destination, U type)

Method Detail

getDestinationback to summary
public Vertex<T, U> getDestination()
getSourceback to summary
public Vertex<T, U> getSource()
getTypeback to summary
public U getType()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override