Exemple #1
0
 @Override
 public boolean equals(Object obj) {
   if (obj instanceof IrMask) {
     IrMask other = (IrMask) obj;
     return set.equals(other.set) & from == other.from && to == other.to && super.equals(other);
   }
   return false;
 }
Exemple #2
0
 @Override
 public int hashCode() {
   return set.hashCode() ^ from ^ to;
 }