Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.0
public class Point extends Object implements Serializable { // Public Constructors 1.1 public Point(); 1.1 public Point(Point p); public Point(int x, int y); // Public Instance Variables public int x; public int y; // Public Instance Methods public boolean equals(Object obj); // Overrides Object.equals() 1.1 public Point getLocation(); public int hashCode(); // Overrides Object.hashCode() public void move(int x, int y); 1.1 public void setLocation(Point p); 1.1 public void setLocation(int x, int y); public String toString(); // Overrides Object.toString() public void translate(int x, int y); }