TreeMap<A,B> map = new TreeMap<A,B>( ); map.put(“S1”, 100); map.put(“S2”, 15); int v = map.get(“S1”)