Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 380 for hasNext (0.15 seconds)

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

            return closed(set.first(), set.last());
          }
        }
        Iterator<C> valueIterator = values.iterator();
        C min = checkNotNull(valueIterator.next());
        C max = min;
        while (valueIterator.hasNext()) {
          C value = checkNotNull(valueIterator.next());
          min = Ordering.<C>natural().min(min, value);
          max = Ordering.<C>natural().max(max, value);
        }
        return closed(min, max);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

              // Skip stale entry.
              return false;
            }
          } finally {
            currentSegment.postReadCleanup();
          }
        }
    
        @Override
        public boolean hasNext() {
          return nextExternal != null;
        }
    
        WriteThroughEntry nextEntry() {
          if (nextExternal == null) {
            throw new NoSuchElementException();
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

          final UnmodifiableIterator<E> iterator = iterator();
    
          @Override
          public boolean tryAdvance(Consumer<? super E> action) {
            if (iterator.hasNext()) {
              action.accept(iterator.next());
              return true;
            } else {
              return false;
            }
          }
    
          @Override
          public Comparator<? super E> getComparator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            ModelBuildingRequest importRequest = null;
    
            List<DependencyManagement> importMgmts = null;
    
            for (Iterator<Dependency> it = depMgmt.getDependencies().iterator(); it.hasNext(); ) {
                Dependency dependency = it.next();
    
                if (!"pom".equals(dependency.getType()) || !"import".equals(dependency.getScope())) {
                    continue;
                }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        synchronized (multimap) { // Synchronizing on multimap, not values!
          Iterator<V> i = values.iterator(); // Must be in synchronized block
          while (i.hasNext()) {
            foo(i.next());
          }
        }
      }
    
      private static void foo(Object unused) {}
    
      public void testFilteredKeysSetMultimapReplaceValues() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/cache/LocalCache.java

              // Skip stale entry.
              return false;
            }
          } finally {
            currentSegment.postReadCleanup();
          }
        }
    
        @Override
        public boolean hasNext() {
          return nextExternal != null;
        }
    
        WriteThroughEntry nextEntry() {
          if (nextExternal == null) {
            throw new NoSuchElementException();
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterator<? extends E> elements) {
          while (elements.hasNext()) {
            add(elements.next());
          }
          return this;
        }
    
        private void dedupAndCoalesceAndDeleteEmpty() {
          dedupAndCoalesce(false);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                if (!String.valueOf(CLIManager.SET_USER_PROPERTY).equals(option.getOpt())) {
                    List<String> values = option.getValuesList();
                    for (ListIterator<String> it = values.listIterator(); it.hasNext(); ) {
                        it.set(MavenPropertiesLoader.substVars(it.next(), null, null, callback));
                    }
                }
                commandLineBuilder.addOption(option);
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                    try (CloseableIterator<SmbResource> it =
                            SmbEnumerationUtil.doEnum(this, "*", ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM, null, null)) {
                        while (it.hasNext()) {
                            try (SmbResource r = it.next()) {
                                try {
                                    r.delete();
                                } catch (final CIFSException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    throw new SmbException(url.toString(), last);
                }
                throw (SmbException) last;
            }
    
            final Iterator iter = map.keySet().iterator();
            while (iter.hasNext()) {
                e = (FileEntry) iter.next();
                final String name = e.getName();
                if (fnf != null && !fnf.accept(this, name)) {
                    continue;
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
Back to Top