- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for iterare (0.29 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/convert/TimestampConversionUtil.java
* @return 変換された{@link Date} */ @SuppressWarnings("unchecked") protected static Date toDate(final String str, final Locale locale) { for (final DateFormat format : MultiIterator.iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) { if (format == null) { continue; } final Date date = toDate(str, format);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 22.1K 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/factory/ParameterizedClassDescFactory.java
* governing permissions and limitations under the License. */ package org.codelibs.core.beans.factory; import static org.codelibs.core.collection.ArrayIterator.iterable; import static org.codelibs.core.collection.IndexedIterator.indexed; import static org.codelibs.core.lang.GenericsUtil.getActualClass; import static org.codelibs.core.lang.GenericsUtil.getGenericParameters;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 7.9K bytes - Viewed (1)