Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 770 for NEXT (0.04 sec)

  1. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

            @Override
            public boolean hasNext() {
              return backingEntries.hasNext();
            }
    
            @Override
            public Multiset.Entry<E> next() {
              final Map.Entry<E, Integer> mapEntry = backingEntries.next();
              return new Multisets.AbstractEntry<E>() {
                @Override
                public E getElement() {
                  return mapEntry.getKey();
                }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.remove(e0()));
              iterator.next();
            });
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_notPresent() {
        assertFalse("remove(notPresent) should return false", collection.remove(e3()));
        expectUnchanged();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        map.put(2, "b");
        Iterator<Entry<String, Integer>> inverseEntryItr = map.inverse().entrySet().iterator();
        Entry<String, Integer> entry = inverseEntryItr.next();
        entry.setValue(3);
        assertEquals(immutableEntry("b", 2), inverseEntryItr.next());
        assertFalse(inverseEntryItr.hasNext());
        assertThat(map.entrySet())
            .containsExactly(immutableEntry(2, "b"), immutableEntry(3, "a"))
            .inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java

        }
    
        public boolean include(Artifact artifact) {
            boolean include = true;
            for (Iterator<ArtifactFilter> i = filters.iterator(); i.hasNext() && include; ) {
                ArtifactFilter filter = i.next();
                if (!filter.include(artifact)) {
                    include = false;
                }
            }
            return include;
        }
    
        public void add(ArtifactFilter artifactFilter) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        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());
      }
    
      public void testAppend() {
        FluentIterable<Integer> result =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

            } else if (result.isUnderflow()) {
              // If encoder underflows, it means either:
              // a) the final flush() succeeded; next drain (then done)
              // b) we encoded all of the input; next flush
              // c) we ran of out input to encode; next read more input
              if (doneEncoding) { // (a)
                doneFlushing = true;
                startDraining(false);
                continue DRAINING;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ReaderInputStream.java

            } else if (result.isUnderflow()) {
              // If encoder underflows, it means either:
              // a) the final flush() succeeded; next drain (then done)
              // b) we encoded all of the input; next flush
              // c) we ran of out input to encode; next read more input
              if (doneEncoding) { // (a)
                doneFlushing = true;
                startDraining(false);
                continue DRAINING;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CartesianList.java

          return -1;
        }
        ListIterator<?> itr = list.listIterator();
        int computedIndex = 0;
        while (itr.hasNext()) {
          int axisIndex = itr.nextIndex();
          int elemIndex = axes.get(axisIndex).indexOf(itr.next());
          if (elemIndex == -1) {
            return -1;
          }
          computedIndex += elemIndex * axesSizeProduct[axisIndex + 1];
        }
        return computedIndex;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. okcurl/README.md

    OkCurl
    ======
    
    _A curl for the next-generation web._
    
    OkCurl is an OkHttp-backed curl clone which allows you to test OkHttp's HTTP engine (including
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 09 21:19:04 UTC 2016
    - 178 bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Dns.kt

     */
    fun interface Dns {
      /**
       * Returns the IP addresses of `hostname`, in the order they will be attempted by OkHttp. If a
       * connection to an address fails, OkHttp will retry the connection with the next address until
       * either a connection is made, the set of IP addresses is exhausted, or a limit is exceeded.
       */
      @Throws(UnknownHostException::class)
      fun lookup(hostname: String): List<InetAddress>
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top