- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for PUT (0.13 sec)
-
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
for (int i = 0; i < num; i++) { hmap.put(String.valueOf(i), null); } System.out.println("HashMap.put:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { amap.put(String.valueOf(i), null); } System.out.println("ArrayMap.put:" + (System.currentTimeMillis() - start));
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/LruHashMapTest.java
lru.put("aaa", "111"); lru.put("bbb", "222"); lru.put("ccc", "333"); assertThat(lru.get("aaa"), is("111")); Iterator<String> i = lru.keySet().iterator(); assertThat(i.next(), is("bbb")); assertThat(i.next(), is("ccc")); assertThat(i.next(), is("aaa")); lru.put("ddd", "444"); assertThat(lru.size(), is(3));
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
* @throws Exception */ @Test public void testCopy_MapToBean() throws Exception { final Map<String, Object> map = newHashMap(); map.put("a", "A"); map.put("b", true); map.put("c", 3); map.put("d", 1.4); final HogeDto hoge = new HogeDto(); BeanUtil.copyMapToBean(map, hoge); assertThat(hoge.getA(), is("A"));
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 34.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanMapTest.java
/** * @throws Exception */ @Test public void testGet() throws Exception { final BeanMap map = new BeanMap(); map.put("aaa", 1); map.put("bbb", 2); assertThat(map.get("aaa"), is((Object) 1)); } /** * @throws Exception */ @Test public void testGet_NotContains() throws Exception {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java
* . */ @Test public void testIsNotEmptyMapOfQQ() { final HashMap<String, String> map = new HashMap<String, String>(); map.put("key", "value"); assertThat(CollectionsUtil.isNotEmpty(map), is(true)); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
list = newArrayList(); methodDescListMap.put(methodName, list); } list.add(new MethodDescImpl(this, method)); } for (int i = 0; i < methodDescListMap.size(); ++i) { final List<MethodDesc> methodDescList = methodDescListMap.getAt(i); methodDescsCache.put(methodDescListMap.getKeyAt(i), methodDescList.toArray(new MethodDesc[methodDescList.size()]));
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java
assertArgumentNotNull("locale", locale); DecimalFormatSymbols symbols = CACHE.get(locale); if (symbols == null) { symbols = new DecimalFormatSymbols(locale); CACHE.put(locale, symbols); } return symbols; }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/AnnotationUtil.java
for (final String name : beanDesc.getMethodNames()) { final Object v = getProperty(beanDesc, annotation, name); if (v != null) { map.put(name, v); } } return map; } /** * アノテーションの要素の値を返します。 * * @param beanDesc * アノテーションを表す{@link BeanDesc} * @param annotation
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Maps.java
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
for (final Enumeration<String> e = bundle.getKeys(); e.hasMoreElements();) { final String key = e.nextElement(); final String value = bundle.getString(key); ret.put(key, value); } return ret; } /** * リソースバンドルを{@link Map}に変換して返します。 * * @param name * リソースバンドルの名前。{@literal null}や空文字列であってはいけません
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6K bytes - Viewed (0)