V
- The type of the graph's verticesE
- The type of the graph's edgesO
- The type of object from which the graph's elements originatepublic abstract class AbstractVertex<V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O> extends AbstractGraphElement<O>
Modifier | Constructor and Description |
---|---|
protected |
AbstractVertex(O origin,
IOriginRetentionPolicy originPolicy) |
Modifier and Type | Method and Description |
---|---|
void |
addDecoration(AbstractVertexDecoration decoration)
Adds a decoration to this vertex.
|
<DecorationT extends AbstractVertexDecoration> |
getDecoration(java.lang.Class<DecorationT> type)
Returns the decoration of this vertex of the given type.
|
java.util.Collection<AbstractVertexDecoration> |
getDecorations()
Returns all decorations of this vertex.
|
abstract java.util.Collection<E> |
getOutgoingEdges()
Returns the outgoing edges of this vertex.
|
addOrigin, getColor, getDescription, getIdentifier, getOrigins, setColor, setDescription
protected AbstractVertex(O origin, IOriginRetentionPolicy originPolicy)
public abstract java.util.Collection<E> getOutgoingEdges()
public <DecorationT extends AbstractVertexDecoration> DecorationT getDecoration(java.lang.Class<DecorationT> type)
type
- The type of the desired decorationnull
if no such type existspublic void addDecoration(AbstractVertexDecoration decoration)
decoration
- The decoration to addpublic java.util.Collection<AbstractVertexDecoration> getDecorations()
Copyright 2017 Kieker Project, http://kieker-monitoring.net