- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for BeanMap (0.17 sec)
-
src/main/java/org/codelibs/core/beans/util/BeanMap.java
import java.util.LinkedHashMap; import org.codelibs.core.exception.IllegalKeyOfBeanMapException; /** * Stringがキーで、存在しないキーにアクセスする(get)と例外を投げるマップです。 * * @author higa */ public class BeanMap extends LinkedHashMap<String, Object> { private static final long serialVersionUID = 1; @Override public Object get(final Object key) { if (!containsKey(key)) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
src.aaa = "aaa"; final BeanMap dest = new BeanMap(); BeanUtil.copyBeanToMap(src, dest); assertThat(dest.get("aaa"), is((Object) "aaa")); } /** * @throws Exception */ @Test public void testCopy_mapToBean() throws Exception { final BeanMap src = new BeanMap(); src.put("aaa", "aaa");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 34.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanMapTest.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/IllegalKeyOfBeanMapException.java
* governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; import java.util.Map; /** * {@literal BeanMap}に含まれていないキーを使用した場合にスローされる例外です。 * * @author koichik */ public class IllegalKeyOfBeanMapException extends ClIllegalArgumentException { private static final long serialVersionUID = 3456740832476626338L;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/resources/CLMessages.properties
ECL0013=argument[{0}] is null or empty map. ECL0014=argument[{0}] which is null the index of array is negative integer. ECL0015=argument[{0}] which is null the index of array exceed the size of array[{1}]. ECL0016=key[{0}] is not included in this BeanMap : {1}. ECL0017=Exception occurred, because {0} ECL0041={0}''s creation failure, because {1} ECL0040=IOException occurred, because {0} ECL0042=An illegal access was generated by {0}, because {1}
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:58:02 UTC 2024 - 3.1K bytes - Viewed (0)