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.
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 |
SatinConstants.UniqueRectangle2D
public SatinConstants.UniqueRectangle2D()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Rectangle2D