Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 722 for Iterator (0.1 sec)

  1. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          }
        }
      }
    
      /**
       * Returns an iterator over the elements contained in this collection, <i>in no particular
       * order</i>.
       *
       * <p>The iterator is <i>fail-fast</i>: If the MinMaxPriorityQueue is modified at any time after
       * the iterator is created, in any way except through the iterator's own remove method, the
       * iterator will generally throw a {@link ConcurrentModificationException}. Thus, in the face of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              iterator.remove();
              return null;
            }
          };
    
      private static final IteratorOperation NEXT_METHOD =
          new IteratorOperation() {
            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              return iterator.next();
            }
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

         */
        public boolean isChildOfRootNode() {
            return parent != null && parent.parent == null;
        }
    
        public Iterator<ResolutionNode> getChildrenIterator() {
            return children.iterator();
        }
    
        public int getDepth() {
            return depth;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            return remoteRepositories;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

          }
        };
      }
    
      @Override
      public Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode) {
        checkNotNull(thisNode);
    
        Iterator<EndpointPair<N>> resultWithDoubleSelfLoop;
        if (orderedNodeConnections == null) {
          resultWithDoubleSelfLoop =
              Iterators.concat(
                  Iterators.transform(
                      predecessors().iterator(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/IndexedImmutableSet.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    abstract class IndexedImmutableSet<E> extends ImmutableSet.CachingAsList<E> {
      abstract E get(int index);
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

                        boolean notified = false;
                        Iterator<Entry<Long, Response>> iterator = this.response_map.entrySet().iterator();
                        while ( iterator.hasNext() ) {
                            Response resp = iterator.next().getValue();
                            resp.exception(ex);
                            iterator.remove();
                            notified = true;
    
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/MultiReader.java

    import java.io.IOException;
    import java.io.Reader;
    import java.util.Iterator;
    import javax.annotation.CheckForNull;
    
    /**
     * A {@link Reader} that concatenates multiple readers.
     *
     * @author Bin Zhu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    class MultiReader extends Reader {
      private final Iterator<? extends CharSource> it;
      @CheckForNull private Reader current;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        // AbstractIterator makes this fairly clean, but it doesn't support remove(). To support
        // remove(), we create an AbstractIterator, and then use ForwardingIterator to delegate to it.
        Iterator<Entry<E>> readOnlyIterator =
            new AbstractIterator<Entry<E>>() {
              private final Iterator<Map.Entry<E, AtomicInteger>> mapEntries =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/LinkedHashMultimap.java

          lastEntry = entry;
        }
    
        @Override
        public void setSuccessorInValueSet(ValueSetLink<K, V> entry) {
          firstEntry = entry;
        }
    
        @Override
        public Iterator<V> iterator() {
          return new Iterator<V>() {
            ValueSetLink<K, V> nextEntry = firstEntry;
            @CheckForNull ValueEntry<K, V> toRemove;
            int expectedModCount = modCount;
    
            private void checkForComodification() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                } catch (MultipleArtifactsNotFoundException e) {
    
                    Collection<Artifact> missing = new HashSet<>(e.getMissingArtifacts());
    
                    for (Iterator<Artifact> it = missing.iterator(); it.hasNext(); ) {
                        String key = ArtifactUtils.key(it.next());
                        if (projectIds.contains(key)) {
                            it.remove();
                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top