/** * Do not use. This can be slow, use isEq() instead. * * Any implementation of DVector3I will return true if get0(), get1() * and get2() return the same values. */ @Override @Deprecated public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (!(obj instanceof DVector3I)) return false; DVector3I v = (DVector3I) obj; return get0()==v.get0() && get1()==v.get1() && get2()==v.get2(); }
/** * Do not use. This can be slow, use isEq() instead. * * Any implementation of DVector3I will return true if get0(), get1() * and get2() return the same values. */ @Override @Deprecated public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (!(obj instanceof DVector3I)) return false; DVector3I v = (DVector3I) obj; return get0()==v.get0() && get1()==v.get1() && get2()==v.get2(); }