public override int CompareTo(BTreeKey other) { var attributeKey = other as AttributeKey; if (attributeKey == null) { throw new ArgumentNullException(nameof(other)); } if (this.FileId != attributeKey.FileId) { return(this.FileId < attributeKey.FileId ? -1 : 1); } return(HfsPlusUtilities.FastUnicodeCompare(this.Name, attributeKey.Name)); }
public override int CompareTo(BTreeKey other) { return(CompareTo(other as ExtentKey)); }
public override int CompareTo(BTreeKey other) { return(CompareTo(other as CatalogKey)); }
public override int CompareTo(BTreeKey other) { return(CompareTo(other as AttributeKey)); }