org.sonar.graph
Interface DirectedGraphAccessor<V,E extends Edge<V>>

All Known Implementing Classes:
DefaultSonarIndex, DirectedGraph, SonarIndex, Squid

public interface DirectedGraphAccessor<V,E extends Edge<V>>


Method Summary
 E getEdge(V from, V to)
           
 Collection<E> getIncomingEdges(V to)
           
 Collection<E> getOutgoingEdges(V from)
           
 Set<V> getVertices()
           
 boolean hasEdge(V from, V to)
           
 

Method Detail

getEdge

E getEdge(V from,
          V to)

hasEdge

boolean hasEdge(V from,
                V to)

getVertices

Set<V> getVertices()

getOutgoingEdges

Collection<E> getOutgoingEdges(V from)

getIncomingEdges

Collection<E> getIncomingEdges(V to)


Copyright © 2009-2010 SonarSource SA. All Rights Reserved.