Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for iterables (1.61 sec)

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

        /**
         * Returns an {@link Iterable} that wraps a {@link MultiIterator} for use in a for-each statement.
         *
         * @param <E> the element type
         * @param iterables the array of {@link Iterable} (must not be {@literal null})
         * @return an {@link Iterable} wrapping a {@link MultiIterator}
         */
        public static <E> Iterable<E> iterable(final Iterable<E>... iterables) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

        protected ClassLoader classLoader;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link ClassLoaderIterator} for use in a for-each statement.
         *
         * @param classLoader the class loader (must not be {@literal null})
         * @return an {@link Iterable} wrapping a {@link ClassLoaderIterator}
         */
        public static Iterable<ClassLoader> iterable(final ClassLoader classLoader) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/LineIterator.java

        }
    
        /**
         * Returns an {@link Iterable} that wraps a {@link LineIterator} for use in enhanced for-loops.
         *
         * @param reader
         *            The {@link BufferedReader} to read strings from. Must not be {@literal null}.
         * @return An {@link Iterable} that wraps a {@link LineIterator}.
         */
        public static Iterable<String> iterable(final BufferedReader reader) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ClassIterator.java

        /**
         * Returns an {@link Iterable} that wraps a {@link ClassIterator} for use in a for-each statement.
         *
         * @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);
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

    import static java.text.DateFormat.LONG;
    import static java.text.DateFormat.MEDIUM;
    import static java.text.DateFormat.SHORT;
    import static java.text.DateFormat.getDateInstance;
    import static org.codelibs.core.collection.MultiIterator.iterable;
    import static org.codelibs.core.lang.StringUtil.isEmpty;
    import static org.codelibs.core.lang.StringUtil.isNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.text.DateFormat;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/IteratorEnumeration.java

        }
    
        /**
         * Creates an {@link IteratorEnumeration}.
         *
         * @param iterable the iterable object (must not be {@literal null})
         */
        public IteratorEnumeration(final Iterable<T> iterable) {
            assertArgumentNotNull("iterable", iterable);
            this.iterator = iterable.iterator();
        }
    
        @Override
        public boolean hasMoreElements() {
            return iterator.hasNext();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/IndexedIterator.java

        /**
         * Returns an {@link Iterable} that wraps an {@link IndexedIterator} for use in a for-each statement.
         *
         * @param <T> the element type
         * @param iterable the iterable (must not be {@literal null})
         * @return an {@link Iterable} wrapping an {@link IndexedIterator}
         */
        public static <T> Iterable<Indexed<T>> indexed(final Iterable<T> iterable) {
            assertArgumentNotNull("iterable", iterable);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

    package org.codelibs.core.collection;
    
    import static org.codelibs.core.collection.CollectionsUtil.newArrayList;
    import static org.codelibs.core.collection.IndexedIterator.indexed;
    import static org.codelibs.core.io.LineIterator.iterable;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import java.io.StringReader;
    import java.util.List;
    
    import org.junit.Test;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    import static org.codelibs.core.collection.EnumerationIterator.iterable;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import java.util.Enumeration;
    import java.util.Vector;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/BeanDesc.java

         *
         * @return The number of {@link PropertyDesc}
         */
        int getPropertyDescSize();
    
        /**
         * Returns an {@link Iterable} of {@link PropertyDesc}.
         *
         * @return An {@link Iterable} of {@link PropertyDesc}
         */
        Iterable<PropertyDesc> getPropertyDescs();
    
        /**
         * Returns whether the {@link FieldDesc} exists.
         *
         * @param fieldName
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top