support.graph
Class GraphEdge

java.lang.Object
  extended by net.datastructures.HashTableMap
      extended by support.graph.CS16Position
          extended by support.graph.GraphEdge
All Implemented Interfaces:
DecorablePosition, Edge, Map, Position, CS16Edge

public class GraphEdge
extends CS16Position
implements CS16Edge


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
GraphEdge()
           
GraphEdge(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

GraphEdge

public GraphEdge(Object element)

GraphEdge

public GraphEdge()
Method Detail

setElement

public void setElement(Object element)

element

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

set

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

get

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

has

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

destroy

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