Class IntPoint
- java.lang.Object
-
- java.awt.geom.Point2D
-
- java.awt.Point
-
- org.apache.pdfbox.pdmodel.graphics.shading.IntPoint
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
class IntPoint extends java.awt.PointDeprecated.the map in question was replaced with an array, so that this class is no longer neededPoint class with faster hashCode() to speed up the rendering of Gouraud shadings. Should only be used for maps or sets when all elements are of this type, because the hashCode() method violates its general contract "If two objects are equal according to the equals(Object) method, then calling the hashCode method on each of the two objects must produce the same" when IntPoint is mixed with Point, because IntPoint(x,y) would have a different hashCode than Point(x,y).
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.commons.logging.LogLOGDeprecated.
-
Constructor Summary
Constructors Constructor Description IntPoint(int x, int y)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Deprecated.inthashCode()Deprecated.-
Methods inherited from class java.awt.Point
getLocation, getX, getY, move, setLocation, setLocation, setLocation, toString, translate
-
-