Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for unmodifiableNavigableMap (0.12 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                  @Override
                  protected NavigableMap<String, String> create(Entry<String, String>[] entries) {
                    return Collections.unmodifiableNavigableMap(populate(new TreeMap<>(), entries));
                  }
                })
            .named("unmodifiableNavigableMap/TreeMap, natural")
            .withFeatures(
                MapFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.KNOWN_ORDER,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

          NavigableMap<K, V> unmodifiableNavigableMap(NavigableMap<K, ? extends V> map) {
        checkNotNull(map);
        if (map instanceof UnmodifiableNavigableMap) {
          @SuppressWarnings("unchecked") // covariant
          NavigableMap<K, V> result = (NavigableMap<K, V>) map;
          return result;
        } else {
          return new UnmodifiableNavigableMap<>(map);
        }
      }
    
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

          NavigableMap<K, V> unmodifiableNavigableMap(NavigableMap<K, ? extends V> map) {
        checkNotNull(map);
        if (map instanceof UnmodifiableNavigableMap) {
          @SuppressWarnings("unchecked") // covariant
          NavigableMap<K, V> result = (NavigableMap<K, V>) map;
          return result;
        } else {
          return new UnmodifiableNavigableMap<>(map);
        }
      }
    
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ImmutableMap.class, ImmutableMap.of())
              .put(SortedMap.class, ImmutableSortedMap.of())
              .put(ImmutableSortedMap.class, ImmutableSortedMap.of())
              .put(NavigableMap.class, Maps.unmodifiableNavigableMap(Maps.newTreeMap()))
              .put(Multimap.class, ImmutableMultimap.of())
              .put(ImmutableMultimap.class, ImmutableMultimap.of())
              .put(ListMultimap.class, ImmutableListMultimap.of())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ImmutableMap.class, ImmutableMap.of())
              .put(SortedMap.class, ImmutableSortedMap.of())
              .put(ImmutableSortedMap.class, ImmutableSortedMap.of())
              .put(NavigableMap.class, Maps.unmodifiableNavigableMap(Maps.newTreeMap()))
              .put(Multimap.class, ImmutableMultimap.of())
              .put(ImmutableMultimap.class, ImmutableMultimap.of())
              .put(ListMultimap.class, ImmutableListMultimap.of())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top