Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 79 for Freeman (0.17 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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  3. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                }
                valueTitles.add(element);
            }
    
            //adding the properties from the super class onto the inheriting class
            Map<String, PropertyDoc> props = new TreeMap<String, PropertyDoc>();
            List<ClassDoc> superTypes = classDoc.getSuperTypes();
            for (ClassDoc superType : superTypes) {
                LOG.info("Getting properties for {}", superType.getName());
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  5. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                    MapFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    MapFeature.GENERAL_PURPOSE)
                /*
                 * StandardDescendingMap uses lowerEntry(), and TreeMap.lowerEntry() deliberately
                 * produces immutable entries.
                 *
                 * TODO(cpovirk): Consider making StandardDescendingMap return a ForwardingEntry that
                 * supports setValue().
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeRangeSet.java

    import java.util.Iterator;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.TreeMap;
    import javax.annotation.CheckForNull;
    
    /**
     * An implementation of {@link RangeSet} backed by a {@link TreeMap}.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @GwtIncompatible // uses NavigableMap
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 32.5K 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.io.IOException;
    import java.io.Serializable;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.TreeMap;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.junit.Test;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                    MapFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    MapFeature.GENERAL_PURPOSE)
                /*
                 * StandardDescendingMap uses lowerEntry(), and TreeMap.lowerEntry() deliberately
                 * produces immutable entries.
                 *
                 * TODO(cpovirk): Consider making StandardDescendingMap return a ForwardingEntry that
                 * supports setValue().
    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