PDA

View Full Version : [java] TreeMap



mickey
20th August 2009, 16:43
Hello,
my situation is apperently simple; I must access to a key in a TreeMap:



private SortedMap< Word, Integer > _wo = new TreeMap< Word, Integer >();
void foo(Word w) {
_wo[w].SomeFunctionOf WordClass();
}

is it possible access to it directly in that way?
thanks,