Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 380 for hasNext (0.06 seconds)

  1. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

              if (modCount != expectedModCount) {
                throw new ConcurrentModificationException();
              }
            }
    
            @Override
            public boolean hasNext() {
              checkForComodification();
              return nextEntry != null;
            }
    
            @Override
            @ParametricNullness
            public V next() {
              checkForComodification();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        assertEquals(0, multiset.toArray().length);
        assertTrue(multiset.entrySet().isEmpty());
        assertFalse(multiset.iterator().hasNext());
        assertEquals(0, multiset.entrySet().size());
        assertEquals(0, multiset.entrySet().toArray().length);
        assertFalse(multiset.entrySet().iterator().hasNext());
      }
    
      public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            if (r1.size() != r2.size()) {
                return false;
            }
    
            for (Iterator<ArtifactRepository> it1 = r1.iterator(), it2 = r2.iterator(); it1.hasNext(); ) {
                if (!repositoryEquals(it1.next(), it2.next())) {
                    return false;
                }
            }
    
            return true;
        }
    
        /**
         * CacheRecord
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  4. 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;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 23.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/LinkedHashMultimap.java

              if (modCount != expectedModCount) {
                throw new ConcurrentModificationException();
              }
            }
    
            @Override
            public boolean hasNext() {
              checkForComodification();
              return nextEntry != null;
            }
    
            @Override
            @ParametricNullness
            public V next() {
              checkForComodification();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 20K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Sets.java

              final Iterator<? extends E> itr2 = set2.iterator();
    
              @Override
              protected @Nullable E computeNext() {
                if (itr1.hasNext()) {
                  return itr1.next();
                }
                while (itr2.hasNext()) {
                  E e = itr2.next();
                  if (!set1.contains(e)) {
                    return e;
                  }
                }
                return endOfData();
    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. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        for (V value : valueCollection) {
          assertTrue(map.containsValue(value));
          assertTrue(allowsNullValues || (value != null));
        }
    
        assertEquals(map.size(), entrySet.size());
        assertEquals(entrySet.size() == 0, entrySet.isEmpty());
        assertEquals(!entrySet.isEmpty(), entrySet.iterator().hasNext());
        assertEntrySetNotContainsString(entrySet);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            assertTrue(iterator.hasNext());
            assertEquals(doc1, iterator.next());
            assertTrue(iterator.hasNext());
            assertEquals(doc2, iterator.next());
            assertFalse(iterator.hasNext());
    
            // Test listIterator
            ListIterator<Map<String, Object>> listIterator = qrList.listIterator();
            assertTrue(listIterator.hasNext());
            assertEquals(doc1, listIterator.next());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 40.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ForwardingMap.java

       *
       * @since 7.0
       */
      protected @Nullable V standardRemove(@Nullable Object key) {
        Iterator<Entry<K, V>> entryIterator = entrySet().iterator();
        while (entryIterator.hasNext()) {
          Entry<K, V> entry = entryIterator.next();
          if (Objects.equals(entry.getKey(), key)) {
            V value = entry.getValue();
            entryIterator.remove();
            return value;
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ForwardingMap.java

       *
       * @since 7.0
       */
      protected @Nullable V standardRemove(@Nullable Object key) {
        Iterator<Entry<K, V>> entryIterator = entrySet().iterator();
        while (entryIterator.hasNext()) {
          Entry<K, V> entry = entryIterator.next();
          if (Objects.equals(entry.getKey(), key)) {
            V value = entry.getValue();
            entryIterator.remove();
            return value;
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top