Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 304 for iterated (0.08 sec)

  1. src/main/java/org/codelibs/core/lang/ClassIterator.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * An {@link Iterator} that iterates through the inheritance hierarchy of a class towards its superclasses.
     * <p>
     * Usage example:
     * </p>
     *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/MultiIterator.java

     *     ...
     * }
     * </pre>
     *
     * @author koichik
     * @param <E> the element type
     */
    public class MultiIterator<E> implements Iterator<E> {
    
        /** Array of {@link Iterator}s. */
        protected final Iterator<E>[] iterators;
    
        /** Index of the currently iterated {@link Iterator}. */
        protected int index;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link MultiIterator} for use in a for-each statement.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/Indexed.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    /**
     * Element to be iterated by {@link IndexedIterator}.
     *
     * @author wyukawa
     * @param <T> the element type
     * @see IndexedIterator
     */
    public class Indexed<T> {
    
        /** The element. */
        private final T element;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayIterator.java

     * for (String element : iterable(array)) {
     *     ...
     * }
     * </pre>
     *
     * @author shot
     * @param <T> the type of array elements
     */
    public class ArrayIterator<T> implements Iterator<T> {
    
        /** The array of elements to iterate over */
        protected final T[] items;
    
        /** The index of the currently referenced element */
        protected int index = 0;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/LineIterator.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.BufferedReader;
    import java.io.Reader;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * An {@link Iterator} that iterates over lines read from a {@link BufferedReader}.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

                return 0;
            }
    
            @Override
            public int getFileIndex() {
                return 0;
            }
        }
    
        @Test
        @DisplayName("Happy path: iterates and adapts entries without filter")
        void happyPath_noFilter_returnsAdaptedResources() throws Exception {
            // Arrange: two valid entries
            setupParentForUrlCreation();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. 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;
    
    /**
     * An {@link Iterator} that iterates through the hierarchy of class loaders towards their parent class loaders.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMultiset.java

        @Override
        Multiset<E> multiset() {
          return AbstractMultiset.this;
        }
    
        @Override
        public Iterator<E> iterator() {
          return elementIterator();
        }
      }
    
      abstract Iterator<E> elementIterator();
    
      @LazyInit private transient @Nullable Set<Entry<E>> entrySet;
    
      @Override
      public Set<Entry<E>> entrySet() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        }
    
        @Test
        @DisplayName("Happy path without filter: iterates all entries in order")
        void happyPath_noFilter_returnsAll() throws Exception {
            SmbFile parent = newParent();
            List<FileEntry> entries = Arrays.asList(entry("foo", SmbConstants.TYPE_SHARE), entry("bar", SmbConstants.TYPE_SHARE));
            ShareEnumIterator it = new ShareEnumIterator(parent, entries.iterator(), null);
    
            // hasNext/next sequence over two elements
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractSortedMultiset.java

          @Override
          SortedMultiset<E> forwardMultiset() {
            return AbstractSortedMultiset.this;
          }
    
          @Override
          Iterator<Entry<E>> entryIterator() {
            return descendingEntryIterator();
          }
    
          @Override
          public Iterator<E> iterator() {
            return descendingIterator();
          }
        }
        return new DescendingMultisetImpl();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top