Lines Matching refs:Key
44 function GetItem(const Key: TKey): TValue; in GetItem()
45 procedure SetItem(const Key: TKey; const Value: TValue);
48 procedure Add(const Key: TKey; const Value: TValue);
49 procedure Remove(const Key: TKey);
51 function ExtractPair(const Key: TKey): TPair<TKey,TValue>; in ExtractPair()
55 function TryGetValue(const Key: TKey; out Value: TValue): Boolean; in TryGetValue()
56 procedure AddOrSetValue(const Key: TKey; const Value: TValue);
57 function ContainsKey(const Key: TKey): Boolean; in ContainsKey()
61 property Items[const Key: TKey]: TValue read GetItem write SetItem; default;
75 function GetItem(const Key: TKey): TValue; in GetItem()
76 procedure SetItem(const Key: TKey; const Value: TValue);
79 procedure Add(const Key: TKey; const Value: TValue);
80 procedure Remove(const Key: TKey);
82 function ExtractPair(const Key: TKey): TPair<TKey,TValue>; in ExtractPair()
86 function TryGetValue(const Key: TKey; out Value: TValue): Boolean; in TryGetValue()
87 procedure AddOrSetValue(const Key: TKey; const Value: TValue);
88 function ContainsKey(const Key: TKey): Boolean; in ContainsKey()
91 property Items[const Key: TKey]: TValue read GetItem write SetItem; default;
329 procedure TThriftDictionaryImpl<TKey, TValue>.Add(const Key: TKey;
332 FDictionaly.Add( Key, Value);
335 procedure TThriftDictionaryImpl<TKey, TValue>.AddOrSetValue(const Key: TKey;
338 FDictionaly.AddOrSetValue( Key, Value);
347 const Key: TKey): Boolean; in TThriftDictionaryImpl()
349 Result := FDictionaly.ContainsKey( Key );
371 function TThriftDictionaryImpl<TKey, TValue>.ExtractPair( const Key: TKey): TPair<TKey, TValue>; in ExtractPair()
373 Result := FDictionaly.ExtractPair( Key);
387 function TThriftDictionaryImpl<TKey, TValue>.GetItem(const Key: TKey): TValue; in GetItem()
389 Result := FDictionaly.Items[Key];
402 procedure TThriftDictionaryImpl<TKey, TValue>.Remove(const Key: TKey);
404 FDictionaly.Remove( Key );
407 procedure TThriftDictionaryImpl<TKey, TValue>.SetItem(const Key: TKey;
410 FDictionaly.AddOrSetValue( Key, Value);
447 sb.Append( StringUtils<TKey>.ToString(pair.Key));
464 function TThriftDictionaryImpl<TKey, TValue>.TryGetValue(const Key: TKey; in TryGetValue()
467 Result := FDictionaly.TryGetValue( Key, Value);