org.jzy3d.plot3d.primitives.graphs.layout
Class DefaultGraphLayout2d<V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<V,Coord2d>
          extended by org.jzy3d.plot3d.primitives.graphs.layout.DefaultGraphLayout2d<V>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<V,Coord2d>, IGraphLayout2d<V>

public class DefaultGraphLayout2d<V>
extends java.util.HashMap<V,Coord2d>
implements IGraphLayout2d<V>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
DefaultGraphLayout2d()
           
 
Method Summary
 Coord2d getVertexPosition(V v)
           
 void setVertexPosition(V v, Coord2d position)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jzy3d.plot3d.primitives.graphs.layout.IGraphLayout2d
get, values
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

DefaultGraphLayout2d

public DefaultGraphLayout2d()
Method Detail

getVertexPosition

public Coord2d getVertexPosition(V v)
Specified by:
getVertexPosition in interface IGraphLayout2d<V>

setVertexPosition

public void setVertexPosition(V v,
                              Coord2d position)
Specified by:
setVertexPosition in interface IGraphLayout2d<V>