net.refractions.udig.tools.edit.support
Class LazyCoord

java.lang.Object
  extended by Coordinate
      extended by net.refractions.udig.tools.edit.support.LazyCoord

public class LazyCoord
extends Coordinate

Wraps a Coordinate and calculates its position only requested. This allows the point it maps to to be moved around without the more time consuming process of calculating the coordinate location.

Since:
1.1.0
Author:
jones

Constructor Summary
LazyCoord(LazyCoord coord2)
           
LazyCoord(Point point2, Coordinate coord2, EditBlackboard bb2)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Coordinate get(Point p)
           
 int hashCode()
           
 void set(Coordinate o, Point point)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazyCoord

public LazyCoord(Point point2,
                 Coordinate coord2,
                 EditBlackboard bb2)

LazyCoord

public LazyCoord(LazyCoord coord2)
Method Detail

get

public Coordinate get(Point p)

set

public void set(Coordinate o,
                Point point)

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()