Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for Freeman (0.21 sec)

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

      public void testHashMapWithInitialMap() {
        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
        original.put("c", 3);
        HashMap<String, Integer> map = Maps.newHashMap(original);
        assertEquals(original, map);
      }
    
      public void testHashMapGeneralizesTypes() {
        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
    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)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

      public void testHashMapWithInitialMap() {
        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
        original.put("c", 3);
        HashMap<String, Integer> map = Maps.newHashMap(original);
        assertEquals(original, map);
      }
    
      public void testHashMapGeneralizesTypes() {
        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          K key, @Nullable V value) {
        return generateTreeMap(key, value);
      }
    
      @Generates
      static <K extends Comparable<? super K>, V> TreeMap<K, V> generateTreeMap(
          K key, @Nullable V value) {
        TreeMap<K, V> map = Maps.newTreeMap();
        map.put(key, value);
        return map;
      }
    
      @Generates
    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)
  4. android/guava/src/com/google/common/collect/Maps.java

       *
       * @return a new, empty {@code TreeMap}
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <K extends Comparable, V extends @Nullable Object> TreeMap<K, V> newTreeMap() {
        return new TreeMap<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code TreeMap} instance with the same mappings as the specified map
       * and using the same ordering as the specified map.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.TreeMap;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    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)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          K key, @Nullable V value) {
        return generateTreeMap(key, value);
      }
    
      @Generates
      static <K extends Comparable<? super K>, V> TreeMap<K, V> generateTreeMap(
          K key, @Nullable V value) {
        TreeMap<K, V> map = Maps.newTreeMap();
        map.put(key, value);
        return map;
      }
    
      @Generates
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.TreeMap;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableSortedMap}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        return getMap().put(entry.getKey(), entry.getValue());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPut_nullKeyUnsupported()} so that tests of
       * {@link java.util.TreeMap} can suppress it with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        return getMap().put(entry.getKey(), entry.getValue());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPut_nullKeyUnsupported()} so that tests of
       * {@link java.util.TreeMap} can suppress it with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. 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)
Back to top