- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for Operator (0.16 sec)
-
src/main/java/org/codelibs/core/collection/LruHashSet.java
} /** * Returns an iterator over the elements in this set. The elements are * returned in no particular order. * * @return an Iterator over the elements in this set. * @see ConcurrentModificationException */ @Override public Iterator<E> iterator() { return map.keySet().iterator(); } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java
* 初期容量 */ public CaseInsensitiveSet(final int initialCapacity) { map = new CaseInsensitiveMap<>(initialCapacity); } @Override public Iterator<String> iterator() { return map.keySet().iterator(); } @Override public int size() { return map.size(); } @Override public boolean isEmpty() { return map.isEmpty(); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java
*/ package org.codelibs.core.lang; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Iterator; import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * クラスローダの階層を親クラスローダに向かって反復する{@link Iterator}です。 * <p> * 次のように使います. * </p> * * <pre> * import static org.codelibs.core.lang.ClassLoaderIterator.*; *
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
*/ package org.codelibs.core.collection; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Iterator; import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * 配列を{@link Iterator}にするAdaptorです。 * <p> * 次のように使います. * </p> * * <pre> * import static org.codelibs.core.collection.ArrayIterator.*; *
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/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
} } return new String(buf); } /** * ロケールが持つスタイルに対応する{@link DateFormat}を反復する{@link Iterator}です。 * * @author koichik */ protected static class DateFormatIterator implements Iterator<DateFormat> { /** ロケール */ protected final Locale locale; /** 現在のスタイルを示すインデックス */ protected int index;
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/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
final List<String> list = newArrayList(); list.add("aaa"); list.add("bbb"); list.add("ccc"); final IndexedIterator<String> it = new IndexedIterator<String>(list.iterator()); assertThat(it.hasNext(), is(true)); final Indexed<String> indexed1 = it.next(); assertThat(indexed1.getIndex(), is(0)); assertThat(indexed1.getElement(), is("aaa"));
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/main/java/org/codelibs/core/collection/IteratorEnumeration.java
*/ public IteratorEnumeration(final Iterator<T> iterator) { assertArgumentNotNull("iterator", iterator); this.iterator = iterator; } /** * {@link IteratorEnumeration}を作成します。 * * @param iterable * 反復可能なオブジェクト。{@literal null}であってはいけません */ public IteratorEnumeration(final Iterable<T> iterable) { assertArgumentNotNull("iterable", iterable);
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
import java.util.Enumeration; import java.util.Iterator; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * {@link Enumeration}を {@link Iterator}にするためのアダブタです。 * * @author shot * @param <T> * 列挙する要素の型 */ public class EnumerationIterator<T> implements Iterator<T> { private Enumeration<T> enumeration = null; /**
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/lang/ClassLoaderUtil.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.IOException; import java.lang.reflect.Method; import java.net.URL; import java.util.Enumeration; import java.util.Iterator; import org.codelibs.core.collection.EnumerationIterator; import org.codelibs.core.exception.ClIllegalStateException; import org.codelibs.core.exception.ClassNotFoundRuntimeException;
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) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Hoge.class); assertThat(map.size(), is(4)); final Iterator<Entry<TypeVariable<?>, Type>> it = map.entrySet().iterator(); Entry<TypeVariable<?>, Type> entry = it.next(); assertThat(entry.getKey().getName(), is("T1")); assertThat(entry.getValue(), is(sameClass(Integer.class)));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.5K bytes - Viewed (0)