- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 86 for newHashMap (0.19 sec)
-
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: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 34.5K bytes - Viewed (0) -
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) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
protected Map<String, String> makeEmptyMap() { Map<String, Integer> underlying = Maps.newHashMap(); return transformValues( new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction()); } @Override protected Map<String, String> makePopulatedMap() { Map<String, Integer> underlying = Maps.newHashMap(); underlying.put("a", 1); underlying.put("b", 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.3K bytes - Viewed (0) -
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: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 12.5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
android/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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Oct 06 13:04:03 UTC 2024 - 29.9K bytes - Viewed (0) -
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)