support.graph
Class GraphVertex

java.lang.Object
  extended by net.datastructures.HashTableMap
      extended by support.graph.CS16Position
          extended by support.graph.GraphVertex
All Implemented Interfaces:
DecorablePosition, Map, Position, Vertex, CS16Vertex

public class GraphVertex
extends CS16Position
implements CS16Vertex


Nested Class Summary
 
Nested classes/interfaces inherited from class net.datastructures.HashTableMap
HashTableMap.HashEntry<K,V>
 
Field Summary
 
Fields inherited from class net.datastructures.HashTableMap
AVAILABLE, bucket, capacity, n, scale, shift
 
Constructor Summary
GraphVertex()
           
GraphVertex(Object element)
           
 
Method Summary
 Object destroy(Object key)
           
 Object element()
           
 Object get(Object key)
           
 boolean has(Object key)
           
 void set(Object key, Object decoration)
           
 void setElement(Object element)
           
 
Methods inherited from class net.datastructures.HashTableMap
checkKey, entries, findEntry, hashValue, isEmpty, keys, put, rehash, remove, size, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.datastructures.Map
entries, isEmpty, keys, put, remove, size, values
 

Constructor Detail

GraphVertex

public GraphVertex(Object element)

GraphVertex

public GraphVertex()
Method Detail

setElement

public void setElement(Object element)

element

public Object element()
Specified by:
element in interface Position
Specified by:
element in interface CS16Vertex
Overrides:
element in class CS16Position

set

public void set(Object key,
                Object decoration)
Specified by:
set in interface CS16Vertex

get

public Object get(Object key)
Specified by:
get in interface Map
Specified by:
get in interface CS16Vertex
Overrides:
get in class HashTableMap

has

public boolean has(Object key)
Specified by:
has in interface CS16Vertex

destroy

public Object destroy(Object key)
Specified by:
destroy in interface CS16Vertex