Code example for TreeMap

Methods: size

0
		} 
		return lines.get(entry.getKey()) - pos;
	} 
 
	public int getLineCount() { 
		return lines.size() + 1;
	} 
 
} 
Connect your IDE to all the code out there  Get Codota for Java