Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for system (0.42 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayMap.java

         */
        protected Entry<K, V> removeList(final int index) {
            final Entry<K, V> e = listTable[index];
            final int numMoved = size - index - 1;
            if (numMoved > 0) {
                System.arraycopy(listTable, index + 1, listTable, index, numMoved);
            }
            listTable[--size] = null;
            return e;
        }
    
        /**
         * サイズが閾値を超えた場合に容量を確保します。
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  2. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

            assertThat(toDate(""), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_ShortStyle() throws Exception {
            System.out.println(((SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL)).toPattern());
            final Date date = toDate("10/9/7");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
            for (final Indexed<String> indexed : indexed(list)) {
                System.out.println(indexed.getIndex());
                System.out.println(indexed.getElement());
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachLineIterator() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
            ClassTraversalUtil.forEach(con.getJarFile(), (ClassHandler) (packageName, shortClassName) -> {
                if (count < 10) {
                    System.out.println(ClassUtil.concatName(packageName, shortClassName));
                }
                assertThat(packageName, is(notNullValue()));
                assertThat(shortClassName, is(notNullValue()));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause"));
            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
            assertThat(e.getValue(), is((Object) "xxx"));
            assertThat(e.getCause().getMessage(), is("cause"));
        }
    
    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)
  6. src/test/java/org/codelibs/core/io/LineIteratorTest.java

         */
        @Test
        public void testForEach() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
            for (final String line : LineIterator.iterable(reader)) {
                System.out.println(line);
            }
        }
    
    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)
  7. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

        /**
         * @throws Exception
         */
        public void testEncode() throws Exception {
            assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA));
            System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' }));
        }
    
        /**
         * @throws Exception
         */
        public void testDecode() throws Exception {
    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)
  8. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            } else {
                propertiesFile = file;
            }
            load();
        }
    
        public boolean isUpdated() {
            final long now = System.currentTimeMillis();
            if (now - lastChecked < checkInterval) {
                lastChecked = now;
                return false;
            }
            lastChecked = now;
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/StringUtil.java

    /**
     * {@link String}用のユーティリティクラスです。
     *
     * @author higa
     * @author shinsuke
     */
    public abstract class StringUtil {
    
        /**
         * A system line separator.
         */
        public static final String RETURN_STRING = System.getProperty("line.separator");
    
        /**
         * 空文字<code>""</code>です。
         */
        public static final String EMPTY = "";
    
        /**
         * 文字列型の空の配列です。
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
Back to top