Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 282 for hasNext (0.08 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

          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())) {
              collection = asMapEntry.getValue();
              break;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

            expectContents(elements);
          }
        }.test();
      }
    
      public void testIteratorNoSuchElementException() {
        Iterator<E> iterator = collection.iterator();
        while (iterator.hasNext()) {
          iterator.next();
        }
    
        assertThrows(NoSuchElementException.class, () -> iterator.next());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

          int currentIndex = firstEntryIndex();
          int indexToRemove = -1;
    
          @Override
          public boolean hasNext() {
            return currentIndex >= 0;
          }
    
          @Override
          @ParametricNullness
          public E next() {
            checkForConcurrentModification();
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            indexToRemove = currentIndex;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/connection/RoutePlanner$DefaultImpls;->hasNext$default(Lokhttp3/internal/connection/RoutePlanner;Lokhttp3/internal/connection/RealConnection;ILjava/lang/Object;)Z
    HSPLokhttp3/internal/connection/RouteSelector$Selection;-><init>(Ljava/util/List;)V
    HSPLokhttp3/internal/connection/RouteSelector$Selection;->hasNext()Z
    HSPLokhttp3/internal/connection/RouteSelector$Selection;->next()Lokhttp3/Route;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

        final UnmodifiableIterator<Entry<K, V>> entryIterator = entrySet().iterator();
        return new UnmodifiableIterator<K>() {
          @Override
          public boolean hasNext() {
            return entryIterator.hasNext();
          }
    
          @Override
          public K next() {
            return entryIterator.next().getKey();
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingSortedSet.java

          @SuppressWarnings({"unchecked", "nullness"})
          SortedSet<@Nullable Object> self = (SortedSet<@Nullable Object>) this;
          Iterator<?> iterator = self.tailSet(object).iterator();
          if (iterator.hasNext()) {
            Object ceiling = iterator.next();
            if (unsafeCompare(comparator(), ceiling, object) == 0) {
              iterator.remove();
              return true;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMap.java

        final UnmodifiableIterator<Entry<K, V>> entryIterator = entrySet().iterator();
        return new UnmodifiableIterator<K>() {
          @Override
          public boolean hasNext() {
            return entryIterator.hasNext();
          }
    
          @Override
          public K next() {
            return entryIterator.next().getKey();
          }
        };
      }
    
      Spliterator<K> keySpliterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

          resetContainer();
    
          int size = getNumElements();
    
          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())) {
              collection = asMapEntry.getValue();
              break;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

          resetContainer();
    
          int size = getNumElements();
    
          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())) {
              collection = asMapEntry.getValue();
              break;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NetworkExplorer.java

                }
                len = name.length();
                if ( len > maxLen ) {
                    maxLen = len;
                }
    
                iter = sorted.listIterator();
                for ( j = 0; iter.hasNext(); j++ ) {
                    if ( sort == 0 ) {
                        if ( compareNames(dirents[ i ], name, iter.next()) < 0 ) {
                            break;
                        }
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
Back to top