Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 533 for hasNet (0.05 sec)

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

       * <i>may</i> prevent removal of the most recent element via {@link #remove()}.
       *
       * @throws NoSuchElementException if the iteration has no more elements according to {@link
       *     #hasNext()}
       */
      @ParametricNullness
      E peek();
    
      /**
       * {@inheritDoc}
       *
       * <p>The objects returned by consecutive calls to {@link #peek()} then {@link #next()} are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertFalse(cycle.iterator().hasNext());
      }
    
      public void testCycle_removingAllElementsStopsCycle() {
        FluentIterable<Integer> cycle = fluent(1, 2).cycle();
        Iterator<Integer> iterator = cycle.iterator();
        iterator.next();
        iterator.remove();
        iterator.next();
        iterator.remove();
        assertFalse(iterator.hasNext());
        assertFalse(cycle.iterator().hasNext());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. android/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.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            tempFile.deleteOnExit();
            markForDeletion(tempFile);
    
            return tempFile;
        }
    
        public void cleanUp() throws IOException {
            for (Iterator it = filesToDelete.iterator(); it.hasNext(); ) {
                File file = (File) it.next();
    
                if (file.exists()) {
                    if (file.isDirectory()) {
                        FileUtils.deleteDirectory(file);
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.Reader;
    import java.io.StringReader;
    import java.util.Base64;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    import java.util.zip.GZIPInputStream;
    import java.util.zip.GZIPOutputStream;
    
    import org.apache.commons.lang3.StringUtils;
    import org.apache.logging.log4j.LogManager;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            for (Iterator<Map.Entry<String, Object>> i = hmap.entrySet().iterator(); i.hasNext();) {
                i.next();
            }
            System.out.println("HashMap iteration:" + (System.currentTimeMillis() - start));
    
            start = System.currentTimeMillis();
            for (Iterator<Map.Entry<String, Object>> i = amap.entrySet().iterator(); i.hasNext();) {
                i.next();
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

       * CASes when performing an update operation (see method
       * retryUpdate). Upon a collision, if the table size is less than
       * the capacity, it is doubled in size unless some other thread
       * holds the lock. If a hashed slot is empty, and lock is
       * available, a new Cell is created. Otherwise, if the slot
       * exists, a CAS is tried.  Retries proceed by "double hashing",
       * using a secondary hash (Marsaglia XorShift) to try to find a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/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)
  10. docs/features/calls.md

    Calls can be canceled from any thread. This will fail the call if it hasn’t yet completed! Code that is writing the request body or reading the response body will suffer an `IOException` when its call is canceled.
    
    ## Dispatch
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top