Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for ImmutableSortedMap (0.23 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/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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

            ImmutableSortedMap::copyOfSorted);
      }
    
      // unsafe, comparator() returns a comparator on the specified type
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableSortedMap<K, V> of() {
        return new Builder<K, V>((Comparator<K>) NATURAL_ORDER).build();
      }
    
      public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> of(K k1, V v1) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        Collector<Entry<String, Integer>, ?, ImmutableSortedMap<String, Integer>> collector =
            ImmutableSortedMap.toImmutableSortedMap(
                String.CASE_INSENSITIVE_ORDER, Entry::getKey, Entry::getValue);
        BiPredicate<ImmutableSortedMap<String, Integer>, ImmutableSortedMap<String, Integer>>
            equivalence =
                Equivalence.equals()
                    .onResultOf(ImmutableSortedMap<String, Integer>::comparator)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

      public static class ImmutableSortedMapGenerator extends TestStringSortedMapGenerator {
        @Override
        public SortedMap<String, String> create(Entry<String, String>[] entries) {
          ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTest.java

      public void testSubMap_boundedRange() {
        ImmutableSortedMap<Integer, Integer> map = ImmutableSortedMap.of(2, 0, 4, 0, 6, 0, 8, 0, 10, 0);
        ImmutableSortedMap<Integer, Integer> empty = ImmutableSortedMap.of();
    
        assertEquals(map, Maps.subMap(map, Range.closed(0, 12)));
        assertEquals(ImmutableSortedMap.of(2, 0, 4, 0), Maps.subMap(map, Range.closed(0, 4)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

      public void testSubMap_boundedRange() {
        ImmutableSortedMap<Integer, Integer> map = ImmutableSortedMap.of(2, 0, 4, 0, 6, 0, 8, 0, 10, 0);
        ImmutableSortedMap<Integer, Integer> empty = ImmutableSortedMap.of();
    
        assertEquals(map, Maps.subMap(map, Range.closed(0, 12)));
        assertEquals(ImmutableSortedMap.of(2, 0, 4, 0), Maps.subMap(map, Range.closed(0, 4)));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.Sets;
    import com.google.common.collect.testing.features.CollectionFeature;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.Sets;
    import com.google.common.collect.testing.features.CollectionFeature;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(ImmutableMap.of(), ArbitraryInstances.get(ImmutableMap.class));
        assertEquals(ImmutableSortedMap.of(), ArbitraryInstances.get(SortedMap.class));
        assertEquals(ImmutableSortedMap.of(), ArbitraryInstances.get(ImmutableSortedMap.class));
        assertEquals(ImmutableMultiset.of(), ArbitraryInstances.get(Multiset.class));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
Back to top