Pseudocode[]
Generic interface:
generic interface Dictionary(of KeyType, ValueTpye) Add(key as KeyType, value as ValueType); ContainsKey(key as KeyType) as boolean; Remove(key as KeyType) property Count get; property Item(key as KeyType) as ValueType get; set; Clear(); GetIterator() as interface Iterator implements List;
.NET[]
Generic interface: see System.Collections.Generic.IDictionary(TKey, TValue).