Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 85 for extend (0.14 sec)

  1. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

         */
        public static <T extends Map<String, Object>> T copyMapToNewMap(final Map<String, ? extends Object> src,
                final Class<? extends T> destClass) {
            return copyMapToNewMap(src, destClass, DEFAULT_OPTIONS);
        }
    
        public static <T extends Map<String, Object>> T copyMapToNewMap(final Map<String, ? extends Object> src,
                final Class<? extends T> destClass, final Consumer<CopyOptions> option) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

        public void testClose_noThrowIOException() throws Exception {
            final OutputStream out = new IOExceptionOccurOutputStream();
            CloseableUtil.close(out);
        }
    
        private static class NotifyOutputStream extends OutputStream {
            private String notify_;
    
            @Override
            public void write(final int arg0) throws IOException {
            }
    
            @Override
            public void close() throws IOException {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/EmptyEnumeration.java

    package org.codelibs.core.collection;
    
    import java.util.Enumeration;
    
    /**
     * 空の {@link Enumeration}です。
     *
     * @author higa
     * @param <T>
     *            列挙する要素の型
     */
    public class EmptyEnumeration<T> extends IteratorEnumeration<T> {
    
        /**
         * {@link EmptyEnumeration}を作成します。
         */
        public EmptyEnumeration() {
            super(new EmptyIterator<T>());
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/text/DecimalFormatSymbolsUtilTest.java

    package org.codelibs.core.text;
    
    import java.text.DecimalFormatSymbols;
    import java.util.Locale;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class DecimalFormatSymbolsUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetDecimalFormatSymbols() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/DoubleConversionUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class DoubleConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToDouble() throws Exception {
            assertEquals(new Double("1000.5"), DoubleConversionUtil.toDouble("1,000.5"));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/xml/DomUtilTest.java

    import junit.framework.TestCase;
    
    import org.codelibs.core.io.ResourceUtil;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    /**
     * @author higa
     *
     */
    public class DomUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetContentsAsStream() throws Exception {
            final String contents = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><foo/>";
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/ConverterRuntimeException.java

    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import org.codelibs.core.beans.Converter;
    
    /**
     * {@link Converter}でエラーが起きた場合にスローされる例外です。
     *
     * @author higa
     */
    public class ConverterRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        private final String propertyName;
    
        private final Object value;
    
        /**
         * インスタンスを構築します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/IllegalPropertyRuntimeException.java

    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * プロパティの値の設定に失敗したときにスローされる例外です。
     *
     * @author higa
     *
     */
    public class IllegalPropertyRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 3584516316082904020L;
    
        private final Class<?> targetClass;
    
        private final String propertyName;
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/NoSuchConstructorRuntimeException.java

    import org.codelibs.core.lang.MethodUtil;
    
    /**
     * {@link Constructor}が見つからない場合にスローされる{@link NoSuchMethodException}をラップする例外です。
     *
     * @author higa
     */
    public class NoSuchConstructorRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 8688818589925114466L;
    
        private final Class<?> targetClass;
    
        private final Class<?>[] argTypes;
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

    import java.sql.SQLException;
    
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * {@link SQLException}をラップする例外です。
     *
     * @author higa
     * @author manhole
     */
    public class SQLRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 2533513110369526191L;
    
        /**
         * {@link SQLRuntimeException}を作成します。
         *
         * @param cause
         *            原因となった例外
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top