Code example for SortedMap

Methods: size

0
		return Collections.unmodifiableSortedMap(data.subMap(startTime, endTime));
	} 
	 
	@Override 
	public String toString() {
		return String.format("Samples[%s](%d)", id, data.size());
	} 
	 
	@Override 
	public int hashCode() { 
		return hash;
	} 
 
	@Override 
	public boolean equals(Object otherObj) {
		if (this == otherObj) {
			return true; 
		} 
		 
		if (!(otherObj instanceof InMemorySamples)) {
			return false;