Class AbstractVertex<V extends AbstractVertex<V,​E,​O>,​E extends AbstractEdge<V,​E,​O>,​O>

java.lang.Object
kieker.tools.trace.analysis.filter.visualization.graph.AbstractGraphElement<O>
kieker.tools.trace.analysis.filter.visualization.graph.AbstractVertex<V,​E,​O>
Type Parameters:
V - The type of the graph's vertices
E - The type of the graph's edges
O - The type of object from which the graph's elements originate
Direct Known Subclasses:
AbstractCallTreeNode, AbstractCallTreeNode, AbstractPayloadedVertex

public abstract class AbstractVertex<V extends AbstractVertex<V,​E,​O>,​E extends AbstractEdge<V,​E,​O>,​O>
extends AbstractGraphElement<O>
Generic superclass for all vertices in the visualization package.
Since:
1.6
  • Constructor Details

  • Method Details

    • getOutgoingEdges

      public abstract java.util.Collection<E> getOutgoingEdges()
      Returns the outgoing edges of this vertex.
      Returns:
      See above
    • getDecoration

      public <DecorationT extends AbstractVertexDecoration> DecorationT getDecoration​(java.lang.Class<DecorationT> type)
      Returns the decoration of this vertex of the given type.
      Type Parameters:
      DecorationT - decoration type.
      Parameters:
      type - The type of the desired decoration
      Returns:
      The given decoration or null if no such type exists
    • addDecoration

      public void addDecoration​(AbstractVertexDecoration decoration)
      Adds a decoration to this vertex. Note that the given decoration may replace an existing decoration of the same type.
      Parameters:
      decoration - The decoration to add
    • getDecorations

      public java.util.Collection<AbstractVertexDecoration> getDecorations()
      Returns all decorations of this vertex.
      Returns:
      See above