Class VertexImpl<V,​E>

  • Type Parameters:
    V - the type of the decorated vertex value
    E - 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 Detail

      • VertexImpl

        public VertexImpl()
    • 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 class AbstractVertex<V,​E>
        Parameters:
        element - The new decorated element.
      • toString

        public String toString()
        Generated Code
        Overrides:
        toString in class Object
        Returns:
        String representation of the object