Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for ImmutableSortedMap (0.2 sec)

  1. android/guava-tests/test/com/google/common/collect/RegularImmutableSortedMapMapInterfaceTest.java

        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() {
        return ImmutableSortedMap.of();
      }
    
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 17 01:34:55 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

      // Length of the sample string to produce
      private static final int MAX_BYTES = 1000;
    
      // Map from sample string lengths to the fingerprint
      private static final ImmutableSortedMap<Integer, Long> LENGTH_FINGERPRINTS =
          new ImmutableSortedMap.Builder<Integer, Long>(Ordering.natural())
              .put(1000, 0x433109b33e13e6edL)
              .put(800, 0x5f2f123bfc815f81L)
              .put(640, 0x6396fc6a67293cf4L)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  3. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMapHeadMapInclusiveMapInterfaceTest.java

    public class ImmutableSortedMapHeadMapInclusiveMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).headMap("c", true);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "d";
      }
    
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 17 01:34:55 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMapHeadMapMapInterfaceTest.java

    @GwtCompatible
    public class ImmutableSortedMapHeadMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).headMap("d");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "d";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 17 01:34:55 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapHeadMapMapInterfaceTest.java

    @GwtCompatible
    public class ImmutableSortedMapHeadMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).headMap("d");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "d";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 17 01:34:55 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        NavigableMap<Integer, String> map1 = ImmutableSortedMap.of(1, "one");
        NavigableMap<Integer, String> map2 = ImmutableSortedMap.of(2, "two");
        new EqualsTester()
            .addEqualityGroup(map1, wrap(map1), wrap(map1))
            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 9.5K bytes
    - Viewed (0)
Back to top