Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 282 for hasNext (0.05 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            MavenProject project = new MavenProject( new Model() );
    
            Set<Artifact> result = project.createArtifacts( dependencyFilter );
    
            for (Iterator<Artifact> it = result.iterator(); it.hasNext(); )
            {
                Artifact artifact = it.next();
    
                if ( "test-artifact2".equals( artifact.getArtifactId() ) )
                {
                    ArtifactFilter filter = artifact.getDependencyFilter();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

          taskFaker.yield()
        }
    
        val planningThrowable = result.planningThrowable
        if (planningThrowable != null) throw planningThrowable
    
        return result
      }
    
      override fun hasNext(failedConnection: RealConnection?): Boolean {
        return deferredPlans.isNotEmpty() || nextPlanIndex < plans.size || autoGeneratePlans
      }
    
      override fun sameHostAndPort(url: HttpUrl): Boolean {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. 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);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

                while (list.size < members.size) {
                  val member = members[list.size]
                  list += member.fromDer(reader)
                }
    
                if (reader.hasNext()) {
                  throw ProtocolException("unexpected ${reader.peekHeader()} at $reader")
                }
    
                return@withTypeHint construct(list)
              }
            }
    
            override fun encode(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSink.java

      private void writeLines(Iterator<? extends CharSequence> lines, String lineSeparator)
          throws IOException {
        checkNotNull(lineSeparator);
    
        try (Writer out = openBufferedStream()) {
          while (lines.hasNext()) {
            out.append(lines.next()).append(lineSeparator);
          }
        }
      }
    
      /**
       * Writes all the text from the given {@link Readable} (such as a {@link Reader}) to this sink.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. android/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)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Iterator<ImageReader> readers = ImageIO.getImageReaders(input);
            if (readers.hasNext()) {
                final ImageReader reader = readers.next();
                try {
                    reader.setInput(input);
                    final ImageReadParam param = reader.getDefaultReadParam();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeMultiset.java

          @Override
          public boolean hasNext() {
            if (current == null) {
              return false;
            } else if (range.tooHigh(current.getElement())) {
              current = null;
              return false;
            } else {
              return true;
            }
          }
    
          @Override
          public Entry<E> next() {
            if (!hasNext()) {
              throw new NoSuchElementException();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. android/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)
  10. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

                }
              };
        }
        Iterator<Entry<K, V>> entryItr = navigableMap.entrySet().iterator();
        Entry<K, V> prevEntry = entryItr.next();
        while (entryItr.hasNext()) {
          Entry<K, V> nextEntry = entryItr.next();
          assertTrue(comparator.compare(prevEntry.getKey(), nextEntry.getKey()) < 0);
          prevEntry = nextEntry;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top