Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## baseCode.dataStructure.graph
Interface GraphNode

All Known Implementing Classes:
  AbstractGraphNode

public interface GraphNode

Method Summary
`Graph` | `getGraph()`
`java.lang.Object` | `getItem()`
`java.lang.Object` | `getKey()`
`void` | `setGraph(Graph graph)`
`void` | `setItem(java.lang.Object value)` Set the contents of the node.
`void` | `setValue(java.lang.Object key, java.lang.Object value)` Set the key and value associated with this node.

Method Detail

### getItem

    public java.lang.Object getItem()

  Returns:
    the contents of the node.

### getKey

    public java.lang.Object getKey()

  Returns:
    the key for this node.

### setItem

    public void setItem(java.lang.Object value)

  Set the contents of the node.

  Parameters:
    `value` -

### setValue

    public void setValue(java.lang.Object key,
                         java.lang.Object value)

  Set the key and value associated with this node.

  Parameters:
    `key` -
    `value` -

### getGraph

    public Graph getGraph()

  Returns:
    the Graph this belongs to.

### setGraph

    public void setGraph(Graph graph)

  Parameters:
    `graph` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2005 Columbia University. All Rights Reserved.