MCPcopy
hub / github.com/google/guava / subMap

Method subMap

guava/src/com/google/common/collect/Maps.java:1026–1033  ·  view source on GitHub ↗
(
        @ParametricNullness K fromKey,
        boolean fromInclusive,
        @ParametricNullness K toKey,
        boolean toInclusive)

Source from the content-addressed store, hash-verified

1024 }
1025
1026 @Override
1027 public NavigableMap<K, V> subMap(
1028 @ParametricNullness K fromKey,
1029 boolean fromInclusive,
1030 @ParametricNullness K toKey,
1031 boolean toInclusive) {
1032 return asMap(set.subSet(fromKey, fromInclusive, toKey, toInclusive), function);
1033 }
1034
1035 @Override
1036 public NavigableMap<K, V> headMap(@ParametricNullness K toKey, boolean inclusive) {

Callers

nothing calls this directly

Calls 2

asMapMethod · 0.65
subSetMethod · 0.45

Tested by

no test coverage detected