- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ArrayIterator (0.24 sec)
-
src/main/java/org/codelibs/core/collection/ArrayIterator.java
assertArgumentNotNull("items", items); return () -> new ArrayIterator<>(items); } /** * {@link ArrayIterator}を作成します。 * * @param items * イテレートする要素の並び。{@literal null}であってはいけません */ public ArrayIterator(final T... items) { this.items = items; } @Override public boolean hasNext() {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
exception.expectMessage(is("index=2")); final ArrayIterator<Integer> itr = new ArrayIterator<Integer>(new Integer[] { 1, 2 }); itr.next(); itr.next(); itr.next(); } /** * */ @Test public void testHasNext() { final ArrayIterator<String> itr = new ArrayIterator<String>("A", "B"); assertThat(itr.hasNext(), is(true));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
assertThat(i.next().getKey(), is("1")); assertThat(i.next().getKey(), is("2")); } /** * Test method for {@link org.seasar.util.collection.ArrayIterator#remove()} * . */ @Test public void testArrayIteratorRemoveException() { exception.expect(ClIllegalStateException.class); exception.expectMessage(is("last == -1"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java
* either express or implied. See the License for the specific language * 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;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.9K bytes - Viewed (0)