Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 161 for Turing (0.14 sec)

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

    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class MapsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$();
            assertThat(map.size(), is(3));
            assertThat(map.get("a"), is(1));
            assertThat(map.get("b"), is(2));
            assertThat(map.get("c"), is(3));
        }
    
    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)
  2. src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java

            assertThat(clIndexOutOfBoundsException, is(notNullValue()));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIndexOutOfBoundsException#SIndexOutOfBoundsException(java.lang.String)}
         * .
         */
        @Test
        public void testSIndexOutOfBoundsExceptionString() {
            final ClIndexOutOfBoundsException clIndexOutOfBoundsException = new ClIndexOutOfBoundsException("hoge");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java

    import org.junit.Test;
    
    /**
     * @author shinsuke
     *
     */
    public class MessageDigestUtilTest {
        /**
         *
         */
        @Test
        public void testDigest() {
            final String text = "hoge";
            assertNull(MessageDigestUtil.digest("MD5", null));
            assertEquals("ea703e7aa1efda0064eaa507d9e8ab7e", MessageDigestUtil.digest("MD5", text));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/ValueHolder.java

        }
    
        /**
         * 値を設定します。
         *
         * @param value
         *            値
         */
        public void setValue(final T value) {
            this.value = value;
        }
    
        @Override
        public String toString() {
            return value.toString();
        }
    
    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)
  5. src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java

         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link BigInteger}
         */
        public static BigInteger toBigInteger(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof BigInteger) {
                return (BigInteger) o;
            } else {
    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)
  6. src/main/resources/CLMessages.properties

    ECL0001={0} not found
    ECL0008=argument[{0}] is null.
    ECL0009=argument[{0}] is illegal. because {1}.
    ECL0010=argument[{0}] is null or empty string.
    ECL0011=argument[{0}] is null or empty array.
    ECL0012=argument[{0}] is null or empty collection.
    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}].
    Properties
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:58:02 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

         * @return <code>jndiName</code>にバインドされているオブジェクト
         * @throws NamingRuntimeException
         *             初期コンテキストを作成できなかった場合にスローされます
         */
        public static Object lookup(final InitialContext ctx, final String jndiName) throws NamingRuntimeException {
            assertArgumentNotNull("ctx", ctx);
            assertArgumentNotEmpty("jndiName", jndiName);
    
            try {
                return ctx.lookup(jndiName);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

                final int num = 100000;
                final Map<String, String> hmap = new HashMap<String, String>();
                final Map<String, String> cimap = new CaseInsensitiveMap<String>();
    
                long start = System.currentTimeMillis();
                for (int i = 0; i < num; i++) {
                    hmap.put("a" + String.valueOf(i), null);
                }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/TraversalUtil.java

            protected static final String WAR_CLASSES_PREFIX = "/WEB-INF/CLASSES/";
    
            /** ルートパッケージです。 */
            protected final String rootPackage;
    
            /** ルートディレクトリです。 */
            protected final String rootDir;
    
            /** ZipのURLです。 */
            protected final URL zipUrl;
    
            /** Zip内のエントリの接頭辞です。 */
            protected final String prefix;
    
            /** Zip内のエントリ名の{@link Set}です。 */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/message/MessageFormatter.java

        protected static final String MESSAGES = "Messages";
    
        /** 初期化済みを示すフラグ */
        protected static volatile boolean initialized;
    
        /**
         * メッセージを返します。
         *
         * @param messageCode
         *            メッセージコード
         * @param args
         *            引数
         * @return メッセージ
         */
        public static String getMessage(final String messageCode, final Object... args) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top