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

Method subSet

guava/src/com/google/common/collect/Maps.java:4037–4044  ·  view source on GitHub ↗
(
        @ParametricNullness K fromElement,
        boolean fromInclusive,
        @ParametricNullness K toElement,
        boolean toInclusive)

Source from the content-addressed store, hash-verified

4035 }
4036
4037 @Override
4038 public NavigableSet<K> subSet(
4039 @ParametricNullness K fromElement,
4040 boolean fromInclusive,
4041 @ParametricNullness K toElement,
4042 boolean toInclusive) {
4043 return map().subMap(fromElement, fromInclusive, toElement, toInclusive).navigableKeySet();
4044 }
4045
4046 @Override
4047 public SortedSet<K> subSet(@ParametricNullness K fromElement, @ParametricNullness K toElement) {

Callers

nothing calls this directly

Calls 3

mapMethod · 0.95
navigableKeySetMethod · 0.45
subMapMethod · 0.45

Tested by

no test coverage detected