- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for ImmutableSortedMap (0.18 sec)
-
android/guava/src/com/google/common/collect/CollectCollectors.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:21:40 GMT 2024 - 17.2K bytes - Viewed (0) -
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) -
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) -
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 Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.7K bytes - Viewed (0) -
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) -
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) -
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) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
* Collections#singletonMap(Object, Object)} and {@link java.util.LinkedHashMap} for empty, * singleton and regular maps respectively. For sorted maps, it's a thin wrapper around {@link * java.util.TreeMap}. * * @see ImmutableSortedMap * @author Hayward Chan */ @ElementTypesAreNonnullByDefault public abstract class ImmutableMap<K, V> implements Map<K, V>, Serializable {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 17.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
// It is necessary here because otherwise the builder() method // would be inherited from the emulated ImmutableSet. // TODO(cpovirk): should we be including other methods from the shim here and // in ImmutableSortedMap? @Deprecated public static <E> ImmutableSortedSet.Builder<E> builder() { throw new UnsupportedOperationException(); } private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 15.3K bytes - Viewed (0) -
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)