コード例 #1
0
 /* (non-Javadoc)
  * @see java.lang.Object#equals(java.lang.Object)
  *
  * Required by the Hashtable implementation.
  */
 public override bool Equals(object obj)
 {
     if (obj is LongLongKey)
     {
         LongLongKey longLongKey = (LongLongKey)obj;
         return(key1 == longLongKey.key1 && key2 == longLongKey.key2);
     }
     return(base.Equals(obj));
 }
コード例 #2
0
 public LongLongKey(LongLongKey key)
 {
     key1  = key.key1;
     key2  = key.key2;
     shift = key.shift;
 }