Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 914 for iterate (0.07 sec)

  1. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

          return standardToString();
        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
          return new StandardEntrySet() {
            @Override
            public Iterator<Entry<K, V>> iterator() {
              return backingMap.entrySet().iterator();
            }
          };
        }
    
        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
        public boolean isEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

            } catch (NullPointerException | ClassCastException e) {
              return false;
            }
          }
    
          @Override
          public Iterator<Entry<K, V>> iterator() {
            return delegate().iterator();
          }
    
          @Override
          public int size() {
            return delegate().size();
          }
    
          @Override
          public boolean remove(Object o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            result = artifactResolver.resolveTransitively(
                    set, projectArtifact, remoteRepositories(), localRepository(), mds);
    
            printErrors(result);
    
            Iterator<Artifact> i = result.getArtifacts().iterator();
            assertEquals(n, i.next(), "n should be first");
            assertEquals(m, i.next(), "m should be second");
    
            // inverse order
            set = new LinkedHashSet<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

        // TODO(cpovirk): are we over-wrapping?
        this.delegate = Collections.unmodifiableSet(delegate);
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return Iterators.unmodifiableIterator(delegate.iterator());
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && delegate.contains(object);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableEnumMap.java

        this.delegate = delegate;
        checkArgument(!delegate.isEmpty());
      }
    
      @Override
      UnmodifiableIterator<K> keyIterator() {
        return Iterators.unmodifiableIterator(delegate.keySet().iterator());
      }
    
      @Override
      Spliterator<K> keySpliterator() {
        return delegate.keySet().spliterator();
      }
    
      @Override
      public int size() {
        return delegate.size();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          }
        }
        val outputStream = socket.getOutputStream()
        val inputStream = socket.getInputStream()
        val reader = Http2Reader(inputStream.source().buffer(), client)
        val outFramesIterator: Iterator<OutFrame> = outFrames.iterator()
        val outBytes = bytesOut.readByteArray()
        var nextOutFrame: OutFrame? = null
        for (i in 0 until frameCount) {
          if (nextOutFrame == null && outFramesIterator.hasNext()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

        return delegateList().equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegateList().hashCode();
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return Iterators.unmodifiableIterator(delegateList().iterator());
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && delegateList().contains(object);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/EdgesConnecting.java

        this.nodeToOutEdge = checkNotNull(nodeToEdgeMap);
        this.targetNode = checkNotNull(targetNode);
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        E connectingEdge = getConnectingEdge();
        return (connectingEdge == null)
            ? ImmutableSet.<E>of().iterator()
            : Iterators.singletonIterator(connectingEdge);
      }
    
      @Override
      public int size() {
        return getConnectingEdge() == null ? 0 : 1;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v3()));
        Set<Entry<K, Collection<V>>> asMapEntrySet = multimap().asMap().entrySet();
        Iterator<Entry<K, Collection<V>>> asMapEntryItr = asMapEntrySet.iterator();
        asMapEntryItr.next();
        asMapEntryItr.remove();
        assertTrue(multimap().isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

        for (Entry<K, V> entry : entries) {
          resetContainer();
    
          K key = entry.getKey();
          V value = entry.getValue();
    
          Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator();
          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top