Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for newHashMap (0.31 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            Map<String, String> featureMap = newHashMap();
            featureMap.put("http://xml.org/sax/features/namespaces", "false");
            fileTransformer.setFeatureMap(featureMap);
            Map<String, String> propertyMap = newHashMap();
            fileTransformer.setPropertyMap(propertyMap);
            Map<String, String> childUrlRuleMap = newHashMap();
            childUrlRuleMap.put("//A", "href");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

      @Override
      protected Map<String, String> makeEmptyMap() {
        return transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity());
      }
    
      @Override
      protected Map<String, String> makePopulatedMap() {
        Map<String, Integer> underlying = Maps.newHashMap();
        underlying.put("a", 1);
        underlying.put("b", 2);
        underlying.put("c", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

        assertTrue(
            "A Map should equal any other Map containing the same entries.",
            getMap().equals(newHashMap(getSampleEntries())));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherMapWithDifferentEntries() {
        Map<K, V> other = newHashMap(getSampleEntries(getNumEntries() - 1));
        other.put(k3(), v3());
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        Map<String, Integer> underlying = Maps.newHashMap();
        underlying.put("a", 1);
        Map<String, String> map = transformValues(underlying, Functions.toStringFunction());
        assertEquals("1", map.remove("a"));
        assertNull(map.remove("b"));
      }
    
      public void testTransformEqualityOfMapsWithNullValues() {
        Map<String, @Nullable String> underlying = Maps.newHashMap();
        underlying.put("a", null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

      @Override
      protected Map<String, String> makeEmptyMap() {
        return transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity());
      }
    
      @Override
      protected Map<String, String> makePopulatedMap() {
        Map<String, Integer> underlying = Maps.newHashMap();
        underlying.put("a", 1);
        underlying.put("b", 2);
        underlying.put("c", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Map<String, Integer> map = Maps.newHashMap();
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
        return Multimaps.forMap(map).asMap();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.collection.CollectionsUtil.newHashMap;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.lang.annotation.Annotation;
    import java.util.Map;
    
    import org.codelibs.core.beans.BeanDesc;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/FilteredMapTest.java

    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class FilteredMapTest extends AbstractFilteredMapTest {
      @Override
      Map<String, Integer> createUnfiltered() {
        return Maps.newHashMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 917 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import static org.codelibs.core.collection.CollectionsUtil.newHashMap;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Enumeration;
    import java.util.Locale;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/FilteredMapTest.java

    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class FilteredMapTest extends AbstractFilteredMapTest {
      @Override
      Map<String, Integer> createUnfiltered() {
        return Maps.newHashMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 917 bytes
    - Viewed (0)
Back to top