Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for adapter (0.19 sec)

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

      }
    
      public void testPreOrder() {
        assertThat(iterationOrder(ADAPTER.preOrderTraversal(h))).isEqualTo("hdabcegf");
      }
    
      public void testPostOrder() {
        assertThat(iterationOrder(ADAPTER.postOrderTraversal(h))).isEqualTo("abcdefgh");
      }
    
      public void testBreadthOrder() {
        assertThat(iterationOrder(ADAPTER.breadthFirstTraversal(h))).isEqualTo("hdegabcf");
      }
    
      public void testUsing() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

      }
    
      public void testPreOrder() {
        assertThat(iterationOrder(ADAPTER.preOrderTraversal(h))).isEqualTo("hdabcegf");
      }
    
      public void testPostOrder() {
        assertThat(iterationOrder(ADAPTER.postOrderTraversal(h))).isEqualTo("abcdefgh");
      }
    
      public void testBreadthOrder() {
        assertThat(iterationOrder(ADAPTER.breadthFirstTraversal(h))).isEqualTo("hdegabcf");
      }
    
      public void testUsing() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/ChecksumHashFunction.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.util.zip.Checksum;
    
    /**
     * {@link HashFunction} adapter for {@link Checksum} instances.
     *
     * @author Colin Decker
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class ChecksumHashFunction extends AbstractHashFunction implements Serializable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

        }
        return new ListenableFutureAdapter<>(future, executor);
      }
    
      /**
       * An adapter to turn a {@link Future} into a {@link ListenableFuture}. This will wait on the
       * future to finish, and when it completes, run the listeners. This implementation will wait on
       * the source future indefinitely, so if the source future never completes, the adapter will never
       * complete either.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.Arrays;
    
    /**
     * {@link HashFunction} adapter for {@link MessageDigest} instances.
     *
     * @author Kevin Bourrillion
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/MacHashFunction.java

    import java.nio.ByteBuffer;
    import java.security.InvalidKeyException;
    import java.security.Key;
    import java.security.NoSuchAlgorithmException;
    import javax.crypto.Mac;
    
    /**
     * {@link HashFunction} adapter for {@link Mac} instances.
     *
     * @author Kurt Alfred Kluever
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class MacHashFunction extends AbstractHashFunction {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 15 22:31:55 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilder.java

     * code changes, you can use <a
     * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/guava/latest/com.github.benmanes.caffeine.guava/com/github/benmanes/caffeine/guava/CaffeinatedGuava.html">its
     * {@code CaffeinatedGuava} adapter class</a>, which lets you build a Guava {@code Cache} or a Guava
     * {@code LoadingCache} backed by a Guava {@code CacheLoader}.
     *
     * <p>Caffeine's API for asynchronous operations uses {@code CompletableFuture}: <a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

     * code changes, you can use <a
     * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/guava/latest/com.github.benmanes.caffeine.guava/com/github/benmanes/caffeine/guava/CaffeinatedGuava.html">its
     * {@code CaffeinatedGuava} adapter class</a>, which lets you build a Guava {@code Cache} or a Guava
     * {@code LoadingCache} backed by a Guava {@code CacheLoader}.
     *
     * <p>Caffeine's API for asynchronous operations uses {@code CompletableFuture}: <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/DerivedTestIteratorGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    
    /**
     * Adapts a test iterable generator to give a TestIteratorGenerator.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public final class DerivedTestIteratorGenerator<E>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Sep 15 13:47:32 GMT 2016
    - 1.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Utf8.java

     * character encoding. UTF-8 is defined in section D92 of <a
     * href="http://www.unicode.org/versions/Unicode6.2.0/ch03.pdf">The Unicode Standard Core
     * Specification, Chapter 3</a>.
     *
     * <p>The variant of UTF-8 implemented by this class is the restricted definition of UTF-8
     * introduced in Unicode 3.1. One implication of this is that it rejects <a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
Back to top