Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for still (0.17 sec)

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

        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() middle element multiple times", "B", peekingIterator.peek());
        assertEquals(
            "next() should still return middle element after peeking", "B", peekingIterator.next());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       *
       * @deprecated Prefer {@linkplain ExecutionError(Error)} a constructor that accepts a cause: Users
       *     of this class typically expect for instances to have a non-null cause. At the moment, you
       *     can <i>usually</i> still preserve behavior by passing an explicit {@code null} cause. Note,
       *     however, that passing an explicit {@code null} cause prevents anyone from calling {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          cache.getUnchecked(1);
          cache.getUnchecked(2);
    
          Set<Object> keys = cache.asMap().keySet();
          // We don't know whether these are still in the cache, so we can't assert on the return
          // values of these removes, but the cache should be empty after the removes, regardless.
          keys.remove(1);
          keys.remove(2);
          assertFalse(keys.remove(null));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

              .put("MD5", Hashing.md5())
              .put("SHA", Hashing.sha1()) // Not the official name, but still works
              .put("SHA1", Hashing.sha1()) // Not the official name, but still works
              .put("sHa-1", Hashing.sha1()) // Not the official name, but still works
              .put("SHA-1", Hashing.sha1())
              .put("SHA-256", Hashing.sha256())
              .put("SHA-384", Hashing.sha384())
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     *       cancel} on the {@code Future}). So beware: <i>Even if you cancel every preceding {@code
     *       Future} returned by this class, the next task may still have to wait.</i>.
     *   <li>Once an {@code AsyncCallable} returns a {@code Future}, this class considers that task to
     *       be "done" as soon as <i>that</i> {@code Future} completes in any way. Notably, a {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  6. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * rarely use it directly, in part because it does not provide direct access to the {@code Future}
     * result. (If you want such access, you may prefer {@link Futures#addCallback
     * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful:
     *
     * <pre>{@code
     * final String name = ...;
     * inFlight.add(name);
     * ListenableFuture<Result> future = service.query(name);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMapKeySet.java

      @Override
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      Object writeReplace() {
        return super.writeReplace();
      }
    
      // No longer used for new writes, but kept so that old data can still be read.
      @GwtIncompatible // serialization
      @J2ktIncompatible
      @SuppressWarnings("unused")
      private static class KeySetSerializedForm<K> implements Serializable {
        final ImmutableMap<K, ?> map;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() middle element multiple times", "B", peekingIterator.peek());
        assertEquals(
            "next() should still return middle element after peeking", "B", peekingIterator.next());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Verify.java

     * of {@link java.util.Formatter} specifiers. However, note that if the number of arguments does not
     * match the number of occurrences of {@code "%s"} in the format string, {@code Verify} will still
     * behave as expected, and will still include all argument values in the error message; the message
     * will simply not be formatted exactly as intended.
     *
     * <h3>More information</h3>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/EndpointPairIterator.java

                return EndpointPair.unordered(requireNonNull(node), otherNode);
              }
            }
            // Add to visited set *after* processing neighbors so we still include self-loops.
            visitedNodes.add(node);
            if (!advance()) {
              visitedNodes = null;
              return endOfData();
            }
          }
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 5K bytes
    - Viewed (0)
Back to top