Example #1
0
 public override bool Equals(object obj)
 {
     if (Values.Length == 1)
     {
         return(this[0].Equals(((Comparable)obj)[0]));
     }
     else
     {
         bool       match   = true;
         Comparable compare = obj as Comparable;
         if (compare != null)
         {
             for (int fv = 0; fv < Values.Length; fv++)
             {
                 match = match && this[fv].Equals(compare[fv]);
                 if (!match)
                 {
                     break;
                 }
             }
         }
         return(match);
     }
 }
Example #2
0
 public Row(Comparable comparable)
     : base(comparable.Values)
 {
 }
Example #3
0
 public Key(Comparable comparable)
     : base(comparable.Values)
 {
 }