Code example for Point

Methods: equals

0
		@SuppressWarnings("unchecked") 
		AugmentedPoint<T> other = (AugmentedPoint<T>) obj;
		if (p == null) {
			if (other.p != null)
				return false; 
		} else if (!p.equals(other.p))
			return false; 
		if (t == null) {
			if (other.t != null)
				return false; 
		} else if (!t.equals(other.t))
			return false; 
		return true; 
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java