Exemple #1
0
 @Override
 public synchronized boolean equals(java.lang.Object obj) {
   if (!(obj instanceof DuplicateName)) {
     return false;
   }
   DuplicateName other = (DuplicateName) obj;
   if (obj == null) {
     return false;
   }
   if (this == obj) {
     return true;
   }
   if (__equalsCalc != null) {
     return (__equalsCalc == obj);
   }
   __equalsCalc = obj;
   boolean _equals;
   _equals =
       super.equals(obj)
           && ((this.name == null && other.getName() == null)
               || (this.name != null && this.name.equals(other.getName())))
           && ((this.object == null && other.getObject() == null)
               || (this.object != null && this.object.equals(other.getObject())));
   __equalsCalc = null;
   return _equals;
 }
Exemple #2
0
 /*    */ public static DuplicateName read(InputStream paramInputStream) /*    */ {
   /* 65 */ DuplicateName localDuplicateName = new DuplicateName();
   /*    */
   /* 67 */ paramInputStream.read_string();
   /* 68 */ localDuplicateName.name = paramInputStream.read_string();
   /* 69 */ return localDuplicateName;
   /*    */ }