Example #1
0
 /// <summary>Subtract the values of this object from that object.</summary>
 public void Subtract(Org.Apache.Hadoop.Hdfs.Util.EnumDoubles <E> that)
 {
     for (int i = 0; i < doubles.Length; i++)
     {
         this.doubles[i] -= that.doubles[i];
     }
 }
Example #2
0
 public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     else
     {
         if (obj == null || !(obj is Org.Apache.Hadoop.Hdfs.Util.EnumDoubles))
         {
             return(false);
         }
     }
     Org.Apache.Hadoop.Hdfs.Util.EnumDoubles <object> that = (Org.Apache.Hadoop.Hdfs.Util.EnumDoubles
                                                              <object>)obj;
     return(this.enumClass == that.enumClass && Arrays.Equals(this.doubles, that.doubles
                                                              ));
 }