MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / subMap

Method subMap

vm/JavaAPI/src/java/util/TreeMap.java:5507–5514  ·  view source on GitHub ↗

{@inheritDoc} @see java.util.NavigableMap#subMap(Object, boolean, Object, boolean) @since 1.6

(K start, boolean startInclusive, K end,
            boolean endInclusive)

Source from the content-addressed store, hash-verified

5505 * @since 1.6
5506 */
5507 public NavigableMap<K, V> subMap(K start, boolean startInclusive, K end,
5508 boolean endInclusive) {
5509 if (keyCompare(start, end) <= 0) {
5510 return new AscendingSubMap<K, V>(start, startInclusive, this, end,
5511 endInclusive);
5512 }
5513 throw new IllegalArgumentException();
5514 }
5515
5516 /**
5517 * {@inheritDoc}

Callers

nothing calls this directly

Calls 4

keyCompareMethod · 0.95
toComparableMethod · 0.95
compareToMethod · 0.65
compareMethod · 0.65

Tested by

no test coverage detected