text: public NavigableMap<K, V> subMap(K from, boolean fromInclusive, K to, boolean toInclusive) {Bound fromBound = fromInclusive ? INCLUSIVE : EXCLUSIVE;Bound toBound = toInclusive ? INCLUSIVE : EXCLUSIVE;return subMap(from, fromBound, to, toBound);}