UC Berkeley Group for User Interface Research
Updated November 17, 2000

edu.berkeley.guir.lib.satin
Class SatinConstants.UniquePoint2D

java.lang.Object
  |
  +--java.awt.geom.Point2D
        |
        +--java.awt.geom.Point2D.Float
              |
              +--edu.berkeley.guir.lib.satin.SatinConstants.UniquePoint2D
All Implemented Interfaces:
Cloneable
Enclosing class:
SatinConstants

public static final class SatinConstants.UniquePoint2D
extends Point2D.Float

Designed to overcome a limitation with hashing, namely objects that return the same hashvalue can overwrite each other.


Inner classes inherited from class java.awt.geom.Point2D
Point2D.Double, Point2D.Float
 
Fields inherited from class java.awt.geom.Point2D.Float
x, y
 
Constructor Summary
SatinConstants.UniquePoint2D()
           
 
Method Summary
 int hashCode()
           
 
Methods inherited from class java.awt.geom.Point2D.Float
getX, getY, setLocation, setLocation, toString
 
Methods inherited from class java.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, setLocation
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SatinConstants.UniquePoint2D

public SatinConstants.UniquePoint2D()
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Point2D

Copyright Information