MCPcopy Create free account
hub / github.com/antlr/codebuff / subMap

Method subMap

corpus/java/training/guava/collect/Maps.java:4089–4093  ·  view source on GitHub ↗
(
        K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)

Source from the content-addressed store, hash-verified

4087 }
4088
4089 @Override
4090 public NavigableMap<K, V> subMap(
4091 K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
4092 return forward().subMap(toKey, toInclusive, fromKey, fromInclusive).descendingMap();
4093 }
4094
4095 @Override
4096 public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {

Callers

nothing calls this directly

Calls 3

forwardMethod · 0.95
descendingMapMethod · 0.45
subMapMethod · 0.45

Tested by

no test coverage detected