Esempio n. 1
0
 public final boolean equals(Object obj) {
   if (obj instanceof CubeView) {
     CubeViewImpl other = (CubeViewImpl) obj;
     return key.equals(other.key);
   }
   return false;
 }
Esempio n. 2
0
 public final int hashCode() {
   int hc = 17;
   hc += 23 * key.hashCode();
   return hc;
 }