Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IndexedIterator (0.19 sec)

  1. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

        @Test
        public void test() throws Exception {
            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));
    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/main/java/org/codelibs/core/collection/Indexed.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    /**
     * {@link IndexedIterator}でイテレートする要素です。
     *
     * @author wyukawa
     * @param <T>
     *            要素の型
     * @see IndexedIterator
     */
    public class Indexed<T> {
    
        /** 要素 */
        private final T element;
    
        /** 要素のインデックス */
        private final int index;
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. 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;
    import static org.codelibs.core.lang.GenericsUtil.getTypeVariableMap;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top