Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 368 for iterated (0.04 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: Fri Sep 05 20:58:11 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeTraverser.java

        private final Deque<Iterator<T>> stack;
    
        PreOrderIterator(T root) {
          this.stack = new ArrayDeque<>();
          stack.addLast(singletonIterator(checkNotNull(root)));
        }
    
        @Override
        public boolean hasNext() {
          return !stack.isEmpty();
        }
    
        @Override
        public T next() {
          Iterator<T> itr = stack.getLast(); // throws NSEE if empty
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. 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()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. 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.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

       * close the open underlying stream.
       *
       * <p>Note: The input {@code Iterator} will be copied to an {@code ImmutableList} when this method
       * is called. This will fail if the iterator is infinite and may cause problems if the iterator
       * eagerly fetches data for each source when iterated (rather than producing sources that only
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharSource.java

       * close the open underlying stream.
       *
       * <p>Note: The input {@code Iterator} will be copied to an {@code ImmutableList} when this method
       * is called. This will fail if the iterator is infinite and may cause problems if the iterator
       * eagerly fetches data for each source when iterated (rather than producing sources that only
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      /**
       * Returns an immutable multimap containing the specified entries. The returned multimap iterates
       * over keys in the order they were first encountered in the input, and the values for each key
       * are iterated in the order they were encountered.
       *
       * @throws NullPointerException if any key, value, or entry is null
       * @since 19.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Network.java

       * For example, two networks may be considered equal even if one allows parallel edges and the
       * other doesn't. Additionally, the order in which nodes or edges are added to the network, and
       * the order in which they are iterated over, are irrelevant.
       *
       * <p>A reference implementation of this is provided by {@link AbstractNetwork#equals(Object)}.
       */
      @Override
      boolean equals(@Nullable Object object);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
Back to top