- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for iterable (0.16 sec)
-
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) -
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) -
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) -
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) -
src/main/java/org/codelibs/core/collection/ArrayIterator.java
/** * Returns an {@link Iterable} that wraps the array for use in a for-each statement. * * @param <T> the type of elements * @param items the array of elements to iterate (must not be {@literal null}) * @return an {@link Iterable} wrapping the array */ public static <T> Iterable<T> iterable(final T... items) { assertArgumentNotNull("items", items);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
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) -
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) -
src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java
* @return an {@link Iterable} wrapping a {@link ClassLoaderIterator} */ public static Iterable<ClassLoader> iterable(final ClassLoader classLoader) { return () -> new ClassLoaderIterator(classLoader); } /** * Constructs an instance. * * @param classLoader the class loader (must not be {@literal null}) */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
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 fieldNameRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/EnumerationIterator.java
/** * Returns an {@link Iterable} that wraps an {@link Enumeration} for use in a for-each statement. * * @param <T> the element type * @param enumeration the enumeration (must not be {@literal null}) * @return an {@link Iterable} wrapping the enumeration */ public static <T> Iterable<T> iterable(final Enumeration<T> enumeration) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.2K bytes - Viewed (0)