Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for NewHashMap (0.23 sec)

  1. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            final Map<String, Object> map = newHashMap();
            BeanUtil.copyBeanToMap(bean2, map, converter(new NumberConverter("#,##0")));
            assertThat(map.get("aaa"), is((Object) "1,000"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyMapToBean_converter() throws Exception {
            final Map<String, Object> map = newHashMap();
            map.put("aaa", new Integer(1000));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

                Map<String, String> featureMap = newHashMap();
                featureMap.put("http://xml.org/sax/features/namespaces", "false");
                xpathTransformer.setFeatureMap(featureMap);
                Map<String, String> propertyMap = newHashMap();
                xpathTransformer.setPropertyMap(propertyMap);
                Map<String, String> childUrlRuleMap = newHashMap();
                childUrlRuleMap.put("//A", "href");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/FunctionsTest.java

      public void testComposition() {
        Map<String, Integer> mJapaneseToInteger = Maps.newHashMap();
        mJapaneseToInteger.put("Ichi", 1);
        mJapaneseToInteger.put("Ni", 2);
        mJapaneseToInteger.put("San", 3);
        Function<String, Integer> japaneseToInteger = Functions.forMap(mJapaneseToInteger);
    
        Map<Integer, String> mIntegerToSpanish = Maps.newHashMap();
        mIntegerToSpanish.put(1, "Uno");
        mIntegerToSpanish.put(3, "Tres");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

              assertNull(expected);
            }
          }
        }
      }
    
      public void testAllRangesAlone() {
        for (Range<Integer> range : RANGES) {
          Map<Integer, Integer> model = Maps.newHashMap();
          putModel(model, range, 1);
          RangeMap<Integer, Integer> test = TreeRangeMap.create();
          test.put(range, 1);
          verify(model, test);
        }
      }
    
      public void testAllRangePairs() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. 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: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultMavenRepositoryContentDescriptor.java

            }
            if (getExcludeSpecs() != null) {
                copy.setExcludeSpecs(Sets.newHashSet(getExcludeSpecs()));
            }
            if (getRequiredAttributes() != null) {
                copy.setRequiredAttributes(Maps.newHashMap(getRequiredAttributes()));
            }
            return copy;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            Map<String, String> featureMap = newHashMap();
            featureMap.put("http://xml.org/sax/features/namespaces", "false");
            htmlTransformer.setFeatureMap(featureMap);
            Map<String, String> propertyMap = newHashMap();
            htmlTransformer.setPropertyMap(propertyMap);
            Map<String, String> childUrlRuleMap = newHashMap();
            childUrlRuleMap.put("//A", "href");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/process/internal/DefaultProcessForkOptions.java

            }
            return actual;
        }
    
        @Override
        public void setEnvironment(Map<String, ?> environmentVariables) {
            environment = Maps.newHashMap(environmentVariables);
        }
    
        @Override
        public ProcessForkOptions environment(String name, Object value) {
            getEnvironment().put(name, value);
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

        protected void setUp() throws Exception {
            super.setUp();
    
            final Map<String, String> featureMap = newHashMap();
            featureMap.put("http://xml.org/sax/features/namespaces", "false");
            final Map<String, String> propertyMap = newHashMap();
            final Map<String, String> childUrlRuleMap = newHashMap();
            childUrlRuleMap.put("//A", "href");
            childUrlRuleMap.put("//AREA", "href");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top