- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for Iterable (0.27 sec)
-
src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java
* @return {@link ClassLoaderIterator}をラップした{@link Iterable} */ public static Iterable<ClassLoader> iterable(final ClassLoader classLoader) { return () -> new ClassLoaderIterator(classLoader); } /** * インスタンスを構築します。 * * @param classLoader * クラスローダ。{@literal null}であってはいけません */ public ClassLoaderIterator(final ClassLoader classLoader) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayIterator.java
protected int index = 0; /** * for each構文で使用するために配列をラップした{@link Iterable}を返します。 * * @param <T> * 列挙する要素の型 * @param items * イテレートする要素の並び。{@literal null}であってはいけません * @return 配列をラップした{@link Iterable} */ public static <T> Iterable<T> iterable(final T... items) { assertArgumentNotNull("items", items);
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) -
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;
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) -
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;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/LineIteratorTest.java
/** * @throws Exception */ @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) -
src/test/java/org/codelibs/core/lang/ClassIteratorTest.java
} /** * @throws Exception */ @Test(expected = ClIllegalArgumentException.class) public void testInterface() throws Exception { new ClassIterator(Iterable.class); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
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) -
src/main/java/org/codelibs/core/collection/IteratorEnumeration.java
} /** * {@link IteratorEnumeration}を作成します。 * * @param iterable * 反復可能なオブジェクト。{@literal null}であってはいけません */ public IteratorEnumeration(final Iterable<T> iterable) { assertArgumentNotNull("iterable", iterable); this.iterator = iterable.iterator(); } @Override public boolean hasMoreElements() { return iterator.hasNext();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/EnumerationIterator.java
/** * for each構文で使用するために{@link Enumeration}をラップした{@link Iterable}を返します。 * * @param <T> * 列挙する要素の型 * @param enumeration * {@link Enumeration}。{@literal null}であってはいけません * @return {@link Enumeration}をラップした{@link Iterable} */ public static <T> Iterable<T> iterable(final Enumeration<T> enumeration) { assertArgumentNotNull("enumeration", enumeration);
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) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
* * @return {@link PropertyDesc}の数 */ int getPropertyDescSize(); /** * {@link PropertyDesc}の{@link Iterable}を返します。 * * @return {@link PropertyDesc}の{@link Iterable} */ Iterable<PropertyDesc> getPropertyDescs(); /** * {@link FieldDesc}を持っているかどうかを返します。 * * @param fieldName
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.2K bytes - Viewed (0)