Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ClassIterator (0.72 sec)

  1. src/main/java/org/codelibs/core/lang/ClassIterator.java

         *
         * @param clazz the class (must not be {@literal null})
         * @return an {@link Iterable} wrapping a {@link ClassIterator}
         */
        public static Iterable<Class<?>> iterable(final Class<?> clazz) {
            return iterable(clazz, true);
        }
    
        /**
         * Returns an {@link Iterable} that wraps a {@link ClassIterator} for use in a for-each statement.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

    /**
     * @author koichik
     *
     */
    public class ClassIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ClassIterator it = new ClassIterator(Integer.class);
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameClass(Integer.class)));
    
            assertThat(it.hasNext(), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top