Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ImmutableSortedMap (0.19 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Not supported. Use {@code ImmutableSortedMap.copyOf(ImmutableMap.ofEntries(...))}.
       *
       * @deprecated Use {@code ImmutableSortedMap.copyOf(ImmutableMap.ofEntries(...))}.
       */
      @DoNotCall("ImmutableSortedMap.ofEntries not currently available; use ImmutableSortedMap.copyOf")
      @Deprecated
      @SafeVarargs
      public static <K, V> ImmutableSortedMap<K, V> ofEntries(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Map.class, ImmutableMap.of())
              .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())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  3. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Map.class, ImmutableMap.of())
              .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())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        TreeMap<K, V> map = Maps.newTreeMap();
        map.put(key, value);
        return map;
      }
    
      @Generates
      static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> generateImmutableSortedMap(
          K key, V value) {
        return ImmutableSortedMap.of(key, value);
      }
    
      @Generates
      static <K, V> Multimap<K, V> generateMultimap(@Nullable K key, @Nullable V value) {
        return generateListMultimap(key, value);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        if (ranges.isEmpty()) {
          return ImmutableMap.of();
        }
        RegularImmutableSortedSet<Range<K>> rangeSet =
            new RegularImmutableSortedSet<>(ranges, Range.<K>rangeLexOrdering());
        return new ImmutableSortedMap<>(rangeSet, values);
      }
    
      @Override
      public ImmutableMap<Range<K>, V> asDescendingMapOfRanges() {
        if (ranges.isEmpty()) {
          return ImmutableMap.of();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        TreeMap<K, V> map = Maps.newTreeMap();
        map.put(key, value);
        return map;
      }
    
      @Generates
      static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> generateImmutableSortedMap(
          K key, V value) {
        return ImmutableSortedMap.of(key, value);
      }
    
      @Generates
      static <K, V> Multimap<K, V> generateMultimap(@Nullable K key, @Nullable V value) {
        return generateListMultimap(key, value);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the natural ordering of its
       * elements.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableSortedMap#of()} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code TreeMap} constructor directly, taking advantage of <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

       * order {@code "one"=1, "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect
       * the same order. If you want a different order, consider using {@link ImmutableSortedMap} to
       * sort by keys, or call {@link #orderEntriesByValue(Comparator)}, which changes this builder to
       * sort entries by value.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top