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

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

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

public static final class SatinConstants.UniquePolygon2D
extends Polygon2D

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


Fields inherited from class edu.berkeley.guir.lib.awt.geom.Polygon2D
npoints, xpoints, ypoints
 
Constructor Summary
SatinConstants.UniquePolygon2D()
           
 
Method Summary
 int hashCode()
           
 
Methods inherited from class edu.berkeley.guir.lib.awt.geom.Polygon2D
addPoint, addPoint, clearPoints, clone, clone, contains, contains, contains, contains, cut, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects, intersects, isClosed, isNormalized, main, minDistance, minDistance, normalize, paste, perimeter, setClosed, setPoly, setPoly, setToPathIterator, setToShape, simplify, toString, transform, transformCopy, translate, trim
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SatinConstants.UniquePolygon2D

public SatinConstants.UniquePolygon2D()
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Copyright Information