Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 451 for hasTest (0.37 sec)

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

        int indexToRemove = -1;
    
        @Override
        public boolean hasNext() {
          return currentIndex >= 0;
        }
    
        @ParametricNullness
        abstract T getOutput(int entry);
    
        @Override
        @ParametricNullness
        public T next() {
          checkForConcurrentModification();
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/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, (SmbFile) iter.next()) < 0) {
                            break;
                        }
                    } else if (sort == 1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/MultiIterator.java

            this.iterators = iterators;
        }
    
        @Override
        public boolean hasNext() {
            for (; index < iterators.length; ++index) {
                if (iterators[index].hasNext()) {
                    return true;
                }
            }
            return false;
        }
    
        @Override
        public E next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator();
        boolean changed = false;
        while (entryIterator.hasNext()) {
          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

        Iterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertThrows(UnsupportedOperationException.class, () -> iterator.remove());
      }
    
      @SuppressWarnings("DoNotCall")
      public void testAdd() {
        ListIterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertEquals("b", iterator.next());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java

              int i;
    
              @Override
              public boolean hasNext() {
                return i < array.length;
              }
    
              @Override
              public String next() {
                if (!hasNext()) {
                  throw new NoSuchElementException();
                }
                return array[i++];
              }
            };
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

    import com.google.caliper.api.SkipThisScenarioException;
    import com.google.common.util.concurrent.AbstractFutureBenchmarks.Facade;
    import com.google.common.util.concurrent.AbstractFutureBenchmarks.Impl;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.concurrent.Executor;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Measures the size of AbstractFuture implementations. */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

                    @Override
                    public Iterator<Entry<Object, Object>> iterator() {
                        return new Iterator<>() {
                            @Override
                            public boolean hasNext() {
                                return false;
                            }
    
                            @Override
                            public Entry<Object, Object> next() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        abstract T output(@ParametricNullness K key, @ParametricNullness V value);
    
        @Override
        public boolean hasNext() {
          return keyIterator.hasNext() || valueIterator.hasNext();
        }
    
        @Override
        @ParametricNullness
        public T next() {
          if (!valueIterator.hasNext()) {
            Entry<K, Collection<V>> mapEntry = keyIterator.next();
            key = mapEntry.getKey();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      a: Iterable<T>,
      b: Iterable<T>,
    ): List<T> {
      val ia = a.iterator()
      val ib = b.iterator()
    
      return buildList {
        while (ia.hasNext() || ib.hasNext()) {
          if (ia.hasNext()) {
            add(ia.next())
          }
          if (ib.hasNext()) {
            add(ib.next())
          }
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top