Ejemplo n.º 1
0
 public boolean equals(Object o) {
   if (!(o instanceof UserInfo)) return false;
   UserInfo that = (UserInfo) o;
   return Misc.equals(this.realm, that.realm)
       && Misc.equals(this.userId, that.userId)
       && Misc.equals(this.password, that.password);
 }
Ejemplo n.º 2
0
 /**
  * Check for equality
  *
  * @param object the object in question
  * @return true if they are equal
  */
 public boolean equals(Object object) {
   if (!object.getClass().equals(getClass())) {
     return false;
   }
   RaobDataSource that = (RaobDataSource) object;
   if (file != null) {
     return Misc.equals(this.file, that.file);
   }
   return Misc.equals(raobDataSet, that.raobDataSet);
 }
Ejemplo n.º 3
0
 /**
  * _more_
  *
  * @param object _more_
  * @return _more_
  */
 public boolean equals(Object object) {
   if (object == this) {
     return true;
   }
   if (!(object instanceof PollingInfo)) {
     return false;
   }
   PollingInfo that = (PollingInfo) object;
   return (this.interval == that.interval)
       && (this.fileCount == that.fileCount)
       && (this.forFiles == that.forFiles)
       && (this.isActive == that.isActive)
       && (this.isHiddenOk == that.isHiddenOk)
       && Misc.equals(this.filePattern, that.filePattern)
       && Misc.equals(this.filePaths, that.filePaths);
 }