Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 959 for iterated (0.6 seconds)

  1. 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.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. 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;
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. 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>
     *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/Traverser.java

            @Override
            @Nullable N visitNext(Deque<Iterator<? extends N>> horizon) {
              Iterator<? extends N> top = horizon.getFirst();
              if (top.hasNext()) {
                return checkNotNull(top.next());
              }
              horizon.removeFirst();
              return null;
            }
          };
        }
    
        final Iterator<N> breadthFirst(Iterator<? extends N> startNodes) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/TreeTraverser.java

          return !stack.isEmpty();
        }
    
        @Override
        public T next() {
          Iterator<T> itr = stack.getLast(); // throws NSEE if empty
          T result = checkNotNull(itr.next());
          if (!itr.hasNext()) {
            stack.removeLast();
          }
          Iterator<T> childItr = children(result).iterator();
          if (childItr.hasNext()) {
            stack.addLast(childItr);
          }
          return result;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 18:39:06 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Sets.java

            return set1.isEmpty() && set2.isEmpty();
          }
    
          @Override
          public UnmodifiableIterator<E> iterator() {
            return new AbstractIterator<E>() {
              final Iterator<? extends E> itr1 = set1.iterator();
              final Iterator<? extends E> itr2 = set2.iterator();
    
              @Override
              protected @Nullable E computeNext() {
                if (itr1.hasNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Lists.java

            : newArrayList(elements.iterator());
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin
       * shortcut for creating an empty list and then calling {@link Iterators#addAll}.
       *
       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
       * ImmutableList#copyOf(Iterator)} instead.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Lists.java

            : newArrayList(elements.iterator());
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin
       * shortcut for creating an empty list and then calling {@link Iterators#addAll}.
       *
       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
       * ImmutableList#copyOf(Iterator)} instead.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Sets.java

            return set1.isEmpty() && set2.isEmpty();
          }
    
          @Override
          public UnmodifiableIterator<E> iterator() {
            return new AbstractIterator<E>() {
              final Iterator<? extends E> itr1 = set1.iterator();
              final Iterator<? extends E> itr2 = set2.iterator();
    
              @Override
              protected @Nullable E computeNext() {
                if (itr1.hasNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/ValueGraph.java

       * For example, two graphs may be considered equal even if one allows self-loops and the other
       * doesn't. Additionally, the order in which nodes or edges are added to the graph, and the order
       * in which they are iterated over, are irrelevant.
       *
       * <p>A reference implementation of this is provided by {@link AbstractValueGraph#equals(Object)}.
       */
      @Override
      boolean equals(@Nullable Object object);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 15K bytes
    - Click Count (0)
Back to Top