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

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

java.lang.Object
  |
  +--java.awt.geom.RectangularShape
        |
        +--java.awt.geom.Rectangle2D
              |
              +--java.awt.geom.Rectangle2D.Float
                    |
                    +--edu.berkeley.guir.lib.satin.SatinConstants.UniqueRectangle2D
All Implemented Interfaces:
Cloneable, Shape
Enclosing class:
SatinConstants

public static final class SatinConstants.UniqueRectangle2D
extends Rectangle2D.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.Rectangle2D
Rectangle2D.Double, Rectangle2D.Float
 
Fields inherited from class java.awt.geom.Rectangle2D.Float
height, width, x, y
 
Fields inherited from class java.awt.geom.Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
 
Constructor Summary
SatinConstants.UniqueRectangle2D()
           
 
Method Summary
 int hashCode()
           
 
Methods inherited from class java.awt.geom.Rectangle2D.Float
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect, setRect, toString
 
Methods inherited from class java.awt.geom.Rectangle2D
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union
 
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SatinConstants.UniqueRectangle2D

public SatinConstants.UniqueRectangle2D()
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Rectangle2D

Copyright Information