Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ArrayIterator (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/internal/PlatformImplementationsKt;-><clinit>()V
    HSPLkotlin/io/CloseableKt;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
    HSPLkotlin/jvm/internal/ArrayIterator;-><init>([Ljava/lang/Object;)V
    HSPLkotlin/jvm/internal/ArrayIterator;->hasNext()Z
    HSPLkotlin/jvm/internal/ArrayIterator;->next()Ljava/lang/Object;
    HSPLkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top