aboutsummaryrefslogtreecommitdiff
path: root/Mammoth/Couscous/java/util/Map.cs
blob: 723ce462618fa8b51c7782ebbeaeef5d64b92d28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
namespace Mammoth.Couscous.java.util {
    internal interface Map {
	System.Collections.IDictionary AsUntypedDictionary();
    }

    internal interface Map<K, V> : Map {
	void put(K key, V value);
	void putAll(Map<K, V> other);
	bool containsKey(K key);
	Set<Map__Entry<K, V>> entrySet();
	Collection<V> values();

        Optional<V> _lookup(K key);
	System.Collections.Generic.IDictionary<K, V> AsDictionary();
    }

    internal interface Map__Entry<K, V> {
	K getKey();
	V getValue();
    }
}