Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for Spring (0.15 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            ArrayMap<String, String> m = new ArrayMap<String, String>(1);
            m.getEntryAt(1);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSerialize() throws Exception {
            @SuppressWarnings("unchecked")
            ArrayMap<String, String> copy = (ArrayMap<String, String>) SerializeUtil.serialize(map);
    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)
  2. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

             *
             */
            public String ggg;
    
            /**
             * @return String
             */
            public String getAaa() {
                return aaa;
            }
    
            /**
             * @param a
             * @return String
             */
            public String getBbb(final Object a) {
                return null;
            }
    
            /**
             * @return boolean
             */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

            map = new HashMap<String, String>();
            assertThat(CollectionsUtil.isEmpty(map), is(true));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isNotEmpty(java.util.Map)}
         * .
         */
        @Test
        public void testIsNotEmptyMapOfQQ() {
            final HashMap<String, String> map = new HashMap<String, String>();
            map.put("key", "value");
    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)
  4. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

         * @return 変換された{@literal String}
         */
        public static String toString(final Object value) {
            return toString(value, null);
        }
    
        /**
         * 文字列に変換します。
         *
         * @param value
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@literal String}
         */
        public static String toString(final Object value, final String pattern) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

        private final String messageCode;
    
        private final Object[] args;
    
        private final String message;
    
        private final String simpleMessage;
    
        /**
         * Creates {@link ClRuntimeException}.
         *
         * @param messageCode message code
         */
        public ClRuntimeException(final String messageCode) {
            this(messageCode, new Object[0], null);
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

            final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/aaa.html";
            final String contentType = MimeTypeUtil.guessContentType(path);
            assertEquals("text/html", contentType);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromStream_gif() throws Exception {
    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)
  7. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

         */
        public static Double toDouble(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Double) {
                return (Double) o;
            } else if (o instanceof Number) {
                return new Double(((Number) o).doubleValue());
            } else if (o instanceof String) {
                return toDouble((String) o);
            } else if (o instanceof java.util.Date) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

         * @throws Exception
         */
        @Test
        public void testAll() throws Exception {
            final LruHashMap<String, String> lru = new LruHashMap<String, String>(3);
            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"));
    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)
  9. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                return (T) BooleanConversionUtil.toBoolean(arg);
            } else if (arg != null && arg.getClass() != String.class && String.class == propertyType) {
                return (T) arg.toString();
            } else if (arg instanceof String && !String.class.equals(propertyType)) {
                return (T) convertWithString(arg);
            } else if (java.util.Calendar.class.isAssignableFrom(propertyType)) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/BeanDesc.java

         * @return {@link PropertyDesc}を持っているかどうか
         */
        boolean hasPropertyDesc(String propertyName);
    
        /**
         * {@link PropertyDesc}を返します。
         *
         * @param propertyName
         *            プロパティ名。{@literal null}や空文字列であってはいけません
         * @return {@link PropertyDesc}
         */
        PropertyDesc getPropertyDesc(String propertyName);
    
        /**
         * {@link PropertyDesc}を返します。
         *
         * @param index
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top