Interface GraphNode<K,​V>

    • Method Detail

      • getGraph

        Graph<? extends GraphNode<K,​V>,​K,​V> getGraph()
        Returns:
        the Graph this belongs to.
      • getItem

        V getItem()
        Returns:
        the contents of the node.
      • getKey

        K getKey()
        Returns:
        the key for this node.
      • setItem

        void setItem​(V value)
        Set the contents of the node.
        Parameters:
        value -
      • setValue

        void setValue​(K key,
                      V value)
        Set the key and value associated with this node.
        Parameters:
        key -
        value -