Example #1
0
 public override bool Equals(object obj)
 {
     if (this == obj)
     {
         return(true);
     }
     if (obj == null)
     {
         return(false);
     }
     if (GetType() != obj.GetType())
     {
         return(false);
     }
     Org.Apache.Hadoop.FS.Shell.Find.Result other = (Org.Apache.Hadoop.FS.Shell.Find.Result
                                                     )obj;
     if (descend != other.descend)
     {
         return(false);
     }
     if (success != other.success)
     {
         return(false);
     }
     return(true);
 }
Example #2
0
 /// <summary>Returns the combination of this and another result.</summary>
 public Org.Apache.Hadoop.FS.Shell.Find.Result Combine(Org.Apache.Hadoop.FS.Shell.Find.Result
                                                       other)
 {
     return(new Org.Apache.Hadoop.FS.Shell.Find.Result(this.IsPass() && other.IsPass()
                                                       , this.IsDescend() && other.IsDescend()));
 }