摘要: public class Point { private int x; private int y; public Point(int x, int y) { this.x = x; this.y = y; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + x; result = prime * result + y; return result; } @Override public boolean equals(Objec... 阅读全文
posted @ 2013-05-19 22:20 乖乖爽 阅读(194) 评论(0) 推荐(0) 编辑