コード例 #1
0
 public int CompareTo(ICodeIndex otherIndex)
 {
     if (this.Code() != otherIndex.Code())
     {
         return(this.Code().CompareTo(otherIndex.Code()));
     }
     return(this.CodeOrder().CompareTo(otherIndex.CodeOrder()));
 }
コード例 #2
0
 public uint Code()
 {
     return(__index.Code());
 }
コード例 #3
0
 public bool isEqualToIndex(ICodeIndex other)
 {
     return(this.Code() == other.Code() && this.CodeOrder() == other.CodeOrder());
 }