protected OrderedGistRecords(BinaryReader reader, IOrderedGistType <TKey> keyType, IOrderedGistType <TValue> valueType) { KeyType = keyType; ValueType = valueType; var count = reader.ReadInt32(); Capacity = count; for (var i = 0; i < count; ++i) { Add(new KeyValuePair <TKey, TValue>(keyType.Read(reader), valueType.Read(reader))); } }
protected OrderedGistRecords(IEnumerable <KeyValuePair <TKey, TValue> > records, IOrderedGistType <TKey> keyType, IOrderedGistType <TValue> valueType) : base(records) { KeyType = keyType; ValueType = valueType; }
public OrderedGistExtension(IOrderedGistType <TKey> keyType, IOrderedGistType <TValue> valueType) { KeyType = keyType; ValueType = valueType; }
public OrderedGistIndexRecords(IEnumerable <KeyValuePair <TKey, int> > records, IOrderedGistType <TKey> keyType) : base(records, keyType, GistIntType.Default) { }
public OrderedGistIndexRecords(BinaryReader reader, IOrderedGistType <TKey> keyType) : base(reader, keyType, GistIntType.Default) { }
public OrderedGistLeafRecords(BinaryReader reader, IOrderedGistType <TKey> keyType, IOrderedGistType <TValue> valueType) : base(reader, keyType, valueType) { }
public OrderedGistLeafRecords(IEnumerable <KeyValuePair <TKey, TValue> > records, IOrderedGistType <TKey> keyType, IOrderedGistType <TValue> valueType) : base(records, keyType, valueType) { }