Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 90 for NewHashMap (0.31 sec)

  1. guava/src/com/google/common/eventbus/SubscriberRegistry.java

      private static ImmutableList<Method> getAnnotatedMethodsNotCached(Class<?> clazz) {
        Set<? extends Class<?>> supertypes = TypeToken.of(clazz).getTypes().rawTypes();
        Map<MethodIdentifier, Method> identifiers = Maps.newHashMap();
        for (Class<?> supertype : supertypes) {
          for (Method method : supertype.getDeclaredMethods()) {
            if (method.isAnnotationPresent(Subscribe.class) && !method.isSynthetic()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

    package org.codelibs.core.beans.util;
    
    import static org.codelibs.core.collection.ArrayUtil.isEmpty;
    import static org.codelibs.core.collection.CollectionsUtil.newArrayList;
    import static org.codelibs.core.collection.CollectionsUtil.newHashMap;
    import static org.codelibs.core.lang.ClassIterator.iterable;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. .idea/inspectionProfiles/Gradle.xml

          </replaceConfiguration>
          <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" text="com.google.common.collect.Maps.newHashMap()" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" replacement="new java.util.HashMap&lt;&gt;()">
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:43 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

      }
    
      public static class ImmutableEnumMapGenerator extends TestEnumMapGenerator {
        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = Maps.newHashMap();
          for (Entry<AnEnum, String> entry : entries) {
            // checkArgument(!map.containsKey(entry.getKey()));
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          // nothing special (e.g. an exception) happens
        }
      }
    
      public void testBulkGetReturnsSorted() {
        for (Striped<?> striped : allImplementations()) {
          Map<Object, Integer> indexByLock = Maps.newHashMap();
          for (int i = 0; i < striped.size(); i++) {
            indexByLock.put(striped.getAt(i), i);
          }
    
          // ensure that bulkGet returns locks in monotonically increasing order
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          // nothing special (e.g. an exception) happens
        }
      }
    
      public void testBulkGetReturnsSorted() {
        for (Striped<?> striped : allImplementations()) {
          Map<Object, Integer> indexByLock = Maps.newHashMap();
          for (int i = 0; i < striped.size(); i++) {
            indexByLock.put(striped.getAt(i), i);
          }
    
          // ensure that bulkGet returns locks in monotonically increasing order
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

      private static ImmutableList<Method> getAnnotatedMethodsNotCached(Class<?> clazz) {
        Set<? extends Class<?>> supertypes = TypeToken.of(clazz).getTypes().rawTypes();
        Map<MethodIdentifier, Method> identifiers = Maps.newHashMap();
        for (Class<?> supertype : supertypes) {
          for (Method method : supertype.getDeclaredMethods()) {
            if (method.isAnnotationPresent(Subscribe.class) && !method.isSynthetic()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

      private abstract static class WrappedHashMapGenerator extends TestStringMapGenerator {
        @Override
        protected final Map<String, String> create(Entry<String, String>[] entries) {
          HashMap<String, String> map = Maps.newHashMap();
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return wrap(map);
        }
    
        abstract Map<String, String> wrap(HashMap<String, String> map);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/WebAuthenticationDbm.java

        //                                       Column Property
        //                                       ---------------
        protected final Map<String, PropertyGateway> _epgMap = newHashMap();
        {
            setupEpg(_epgMap, et -> ((WebAuthentication) et).getAuthRealm(),
                    (et, vl) -> ((WebAuthentication) et).setAuthRealm(DfTypeUtil.toString(vl)), "authRealm");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeResolver.java

       *     corresponding mappings exist in the current {@code TypeResolver} instance.
       */
      public TypeResolver where(Type formal, Type actual) {
        Map<TypeVariableKey, Type> mappings = Maps.newHashMap();
        populateTypeMappings(mappings, checkNotNull(formal), checkNotNull(actual));
        return where(mappings);
      }
    
      /** Returns a new {@code TypeResolver} with {@code variable} mapping to {@code type}. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
Back to top