Code example for TreeMap

Methods: isEmptyfloorEntry

0
     
    /* (non-Javadoc) 
     * @see com.mobilesorcery.sdk.core.ISLDInfo#getFileName(int) 
     */ 
    public String getFileName(int addr) {
        if (addrToFile.isEmpty()) {
            return null; 
        } 
 
        Entry<Integer, Integer> entry = addrToFile.floorEntry(addr);
        if (entry != null) {
            Integer fileId = entry.getValue();
            if (fileId != null) {
                return fileTable.get(fileId);
            } 
        } 
 
        return null; 
    } 
 
Connect your IDE to all the code out there  Get Codota for Java