- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for NewHashMap (0.33 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: Wed Jun 12 12:50:12 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/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) -
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) -
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) -
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) -
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) -
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) -
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) -
guava/src/com/google/common/collect/HashMultiset.java
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); int distinctElements = Serialization.readCount(stream); setBackingMap(Maps.<E, Count>newHashMap()); Serialization.populateMultiset(this, stream, distinctElements); } @GwtIncompatible // Not needed in emulated source. @J2ktIncompatible private static final long serialVersionUID = 0;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 3.4K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/GuavaCollectionFactoryUsageTest.java
noClasses() .should() .callMethod(com.google.common.collect.Maps.class, "newConcurrentMap") .orShould() .callMethod(com.google.common.collect.Maps.class, "newHashMap") .orShould() .callMethod(com.google.common.collect.Maps.class, "newLinkedHashMap") .orShould() .callMethod(com.google.common.collect.Maps.class, "newIdentityHashMap")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.3K bytes - Viewed (0)