(Object obj)
| 90 | } |
| 91 | |
| 92 | @Override |
| 93 | public boolean equals(Object obj) { |
| 94 | if (this == obj) return true; |
| 95 | if (!(obj instanceof Rect)) return false; |
| 96 | Rect it = (Rect) obj; |
| 97 | return x == it.x && y == it.y && width == it.width && height == it.height; |
| 98 | } |
| 99 | |
| 100 | @Override |
| 101 | public String toString() { |
no outgoing calls