datastructures

net.datastructures
Interface Position

All Known Subinterfaces:
BTPosition, DecorablePosition, Edge, Vertex
All Known Implementing Classes:
AdjacencyListGraph.MyEdge, AdjacencyListGraph.MyPosition, AdjacencyListGraph.MyVertex, BTNode, DNode, VectorCompleteBinaryTree.VectorNode

public interface Position

An interface for a position, which is a holder object storing a single element.

Author:
Roberto Tamassia

Method Summary
 Object element()
          Returns the element stored at this position.
 

Method Detail

element

public Object element()
Returns the element stored at this position.


datastructures