Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 90 for emptyMap (0.27 sec)

  1. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsBuilderFactoryTest.java

            //        lenient().when(session.getSystemProperties()).thenReturn(map);
            //        lenient().when(session.getUserProperties()).thenReturn(Collections.emptyMap());
    
            Mockito.lenient()
                    .when(session.getService(SettingsXmlFactory.class))
                    .thenReturn(new DefaultSettingsXmlFactory());
        }
    
        @Test
        void testCompleteWiring() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            final String queryString = request.getQueryString();
            if (StringUtil.isNotBlank(queryString)) {
                return parseQueryString(queryString, enc);
            }
            return Collections.emptyMap();
        }
    
        protected Map<String, String[]> parseQueryString(final String queryString, final String enc) throws IOException {
            final Map<String, List<String>> paramListMap = new HashMap<>();
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .add(SHORT_NAME, Collections.singletonMap("k1", "v1"))
                .add(LONG_NAME, Collections.singletonMap("k2", "v2"))
                .addValue(Collections.singletonMap("k3", "v3"))
                .addValue(Collections.emptyMap())
                .addValue(null)
                .add(SHORT_NAME, Optional.of("1"))
                .add(LONG_NAME, Optional.of("1"))
                .add(SHORT_NAME, Optional.absent())
                .add(LONG_NAME, Optional.absent())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 14 22:05:11 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

            val classGraph = classGraph()
    
            val jarUri = URI.create("jar:${jarFile.toPath().toUri()}")
            FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem ->
                jarFileSystem.rootDirectories.forEach {
                    visitClassDirectory(it, classGraph, classesDir, manifestFile.toPath(), buildReceipt.toPath())
                }
            }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

            TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) {
          super(delegate);
          this.to = to;
          this.from = from;
    
          SortedMap<K, V> emptyMap = delegate.create();
          this.entryComparator = Helpers.entryComparator(emptyMap.comparator());
    
          // derive values for inclusive filtering from the input samples
          SampleElements<Entry<K, V>> samples = delegate.samples();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java

                                if (addedPlugin != null) {
                                    Plugin plugin =
                                            mergePlugin(managedPlugin, addedPlugin, sourceDominant, Collections.emptyMap());
                                    merged.put(key, plugin);
                                }
                            }
                        }
                    }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      public void testBuilderPutAllWithEmptyMap() {
        ImmutableMap<String, Integer> map =
            new Builder<String, Integer>()
                .putAll(Collections.<String, Integer>emptyMap())
                .buildOrThrow();
        assertEquals(Collections.<String, Integer>emptyMap(), map);
      }
    
      public void testBuilderPutAll() {
        Map<String, Integer> toPut = new LinkedHashMap<>();
        toPut.put("one", 1);
        toPut.put("two", 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyMap.toString should return {}", "{}", getMap().toString());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size1() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyMap.toString should return {}", "{}", getMap().toString());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size1() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultLifecycleBindingsInjector.java

                                if (addedPlugin != null) {
                                    Plugin plugin =
                                            mergePlugin(managedPlugin, addedPlugin, sourceDominant, Collections.emptyMap());
                                    merged.put(key, plugin);
                                }
                            }
                        }
                    }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top