Package science.aist.gtf.graph.impl
Class VertexImpl<V,E>
- java.lang.Object
-
- science.aist.gtf.graph.impl.MetaTagCollectionImpl
-
- science.aist.gtf.graph.impl.AbstractVertex<V,E>
-
- science.aist.gtf.graph.impl.VertexImpl<V,E>
-
- Type Parameters:
V
- the type of the decorated vertex valueE
- the type of the decorated edge value
- All Implemented Interfaces:
MetaTagCollection
,Vertex<V,E>
public class VertexImpl<V,E> extends AbstractVertex<V,E>
Implementation of a Vertex
- Since:
- 1.0
- Author:
- Andreas Schuler, Andreas Pointner
-
-
Constructor Summary
Constructors Constructor Description VertexImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
getElement()
void
setElement(V element)
Method that allows to change the decorated element - this is especially needed at graph creation time.String
toString()
Generated Code-
Methods inherited from class science.aist.gtf.graph.impl.AbstractVertex
getAdjacentVertices, getEdges, getIncomingEdges, getOutgoingEdges
-
Methods inherited from class science.aist.gtf.graph.impl.MetaTagCollectionImpl
addMetaTag, getMetaTags, removeMetaTag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface science.aist.gtf.graph.MetaTagCollection
addMetaTag, getMetaTags, getMetaTagValue, getMetaTagValue, removeMetaTag, removeMetaTag, tryGetMetaTagValue, tryGetMetaTagValue
-
-
-
-
Method Detail
-
getElement
public V getElement()
- Returns:
- returns the decorated element
-
setElement
public void setElement(V element)
Description copied from class:AbstractVertex
Method that allows to change the decorated element - this is especially needed at graph creation time.- Specified by:
setElement
in classAbstractVertex<V,E>
- Parameters:
element
- The new decorated element.
-
-