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