Code example for SortedMap

Methods: containsKey

0
 
        if (path_.length() == 0) {
            exists_ = true;
            directory_ = true;
        } else { 
            if (entryMap.containsKey(path)) {
                exists_ = true;
                directory_ = false;
            } else if (entryMap.containsKey(spath_)) {
                exists_ = true;
                directory_ = true;
            } else { 
                exists_ = false;
                directory_ = false;
            } 
        } 
    } 
 
 
    /* 
     * Object