示例#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;
 }
示例#2
0
 @Override
 public int hashCode() {
   return set.hashCode() ^ from ^ to;
 }