示例#1
0
文件: Flow.java 项目: scherr/tamestaj
 public boolean equals(Object obj) {
   if (!(obj instanceof Data)) {
     return false;
   }
   Data d = ((Data) obj);
   return from.equals(d.from) && to.equals(d.to);
 }
示例#2
0
 @Override
 public boolean equals(Object o) {
   if (o instanceof GetPrimaryKeyCacheKey) {
     GetPrimaryKeyCacheKey key = (GetPrimaryKeyCacheKey) o;
     return (cld == key.cld) && source.equals(key.source);
   }
   return false;
 }
示例#3
0
 @Override
 public boolean equals(Object o) {
   if (o instanceof PrimaryKeyCacheKey) {
     PrimaryKeyCacheKey pkck = (PrimaryKeyCacheKey) o;
     return (model == pkck.model) && clazz.equals(pkck.clazz) && source.equals(pkck.source);
   }
   return false;
 }