Esempio n. 1
0
 //larger first, then earliest first
 public int CompareTo(CacheBucket other)
 {
     if (BitLength == other.BitLength)
     {
         return(BitOffset.CompareTo(other.BitOffset));
     }
     else
     {
         return(BitLength.CompareTo(other.BitLength));
     }
 }