Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 287 for public (0.15 sec)

  1. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

    import org.junit.rules.ExpectedException;
    
    /**
     * @author higa
     *
     */
    public class CalendarConversionUtilTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/EmptyIterator.java

     *
     * @author higa
     * @param <T>
     *            反復する要素の型
     */
    public class EmptyIterator<T> implements Iterator<T> {
    
        /**
         * {@link EmptyIterator}を作成します。
         */
        public EmptyIterator() {
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
        @Override
        public boolean hasNext() {
            return false;
        }
    
        @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/ByteConversionUtilTest.java

    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class ByteConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToByte() throws Exception {
            assertEquals(new Byte("100"), ByteConversionUtil.toByte("100"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveByte() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java

    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class LongConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToLong() throws Exception {
            assertEquals(new Long("1000"), LongConversionUtil.toLong("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveLong() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author shot
     */
    public class MimeTypeUtilTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromStream() 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)
  6. src/test/java/org/codelibs/core/convert/FloatConversionUtilTest.java

    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class FloatConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToFloat() throws Exception {
            assertEquals(new Float("1000.5"), FloatConversionUtil.toFloat("1,000.5"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveFloat() 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)
  7. src/main/java/org/codelibs/core/lang/ClassIterator.java

         * @return {@link ClassIterator}をラップした{@link Iterable}
         */
        public static Iterable<Class<?>> iterable(final Class<?> clazz, final boolean includeObject) {
            return () -> new ClassIterator(clazz, includeObject);
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param clazz
         *            クラス。{@literal null}であってはいけません
         */
        public ClassIterator(final Class<?> clazz) {
            this(clazz, true);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java

    /**
     * {@link UnsupportedOperationException}をラップする例外です。
     *
     * @author wyukawa
     */
    public class ClUnsupportedOperationException extends UnsupportedOperationException {
    
        private static final long serialVersionUID = -6732367317955522602L;
    
        /**
         * {@link ClUnsupportedOperationException}を作成します。
         */
        public ClUnsupportedOperationException() {
        }
    
        /**
    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)
  9. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

    /**
     * @author wyukawa
     *
     */
    public class NullArgumentExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/text/TokenizerTest.java

    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class TokenizerTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testEOF() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("");
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top