Code example for TreeMap

Methods: isEmpty

0
        } 
        return count;
    } 
 
    public boolean isEmpty() { 
        return wrappedMap.isEmpty();
    } 
 
    public void clear() { 
        wrappedMap.clear();
    } 
 
    public SortedSet<String> remove(Object key) {
        return wrappedMap.remove(key);
    } 
 
    public Set<String> keySet() {
        return wrappedMap.keySet();
    }