summaryrefslogtreecommitdiff
path: root/Mammoth/Couscous/java/util/Map.cs
blob: 0d3eaf7aa958a8bf52cfdc7500108b7a8789be6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace Mammoth.Couscous.java.util {
    internal interface Map {
	System.Collections.IDictionary AsUntypedDictionary();
    }
    
    internal interface Map<K, V> : Map {
	void put(K key, V value);
	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();
    }
}