Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 777 for that (0.03 sec)

  1. android/guava/src/com/google/common/io/Resources.java

    @ElementTypesAreNonnullByDefault
    public final class Resources {
      private Resources() {}
    
      /**
       * Returns a {@link ByteSource} that reads from the given URL.
       *
       * @since 14.0
       */
      public static ByteSource asByteSource(URL url) {
        return new UrlByteSource(url);
      }
    
      /** A byte source that reads from a URL using {@link URL#openStream()}. */
      private static final class UrlByteSource extends ByteSource {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/LazyLogger.java

    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.logging.Logger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A holder for a {@link Logger} that is initialized only when requested. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class LazyLogger {
      private final String loggerName;
      private volatile @Nullable Logger logger;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hasher.java

     * compatibility (otherwise prefer {@link #putUnencodedChars}). However, the character encodings
     * must be identical across languages. Also beware that {@link Charset} definitions may occasionally
     * change between Java releases.
     *
     * <p><b>Warning:</b> Chunks of data that are put into the {@link Hasher} are not delimited. The
     * resulting {@link HashCode} is dependent only on the bytes inserted, and the order in which they
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    /**
     * Generates a dummy interface proxy that simply returns a dummy value for each method.
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

      /** Test an empty collection. */
      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
      /** Test a three-element collection. */
      SEVERAL(3),
      /*
       * TODO: add VERY_LARGE, noting that we currently assume that the fourth
       * sample element is not in any collection
       */
    
      ANY(ZERO, ONE, SEVERAL);
    
      private final Set<Feature<? super Collection>> implied;
      private final @Nullable Integer numElements;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

      /** Test an empty collection. */
      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
      /** Test a three-element collection. */
      SEVERAL(3),
      /*
       * TODO: add VERY_LARGE, noting that we currently assume that the fourth
       * sample element is not in any collection
       */
    
      ANY(ZERO, ONE, SEVERAL);
    
      private final Set<Feature<? super Collection>> implied;
      private final @Nullable Integer numElements;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/GraphBuilder.java

       *
       * <p>The returned builder can be used for populating an {@link ImmutableGraph}.
       *
       * <p>Note that the returned builder will always have {@link #incidentEdgeOrder} set to {@link
       * ElementOrder#stable()}, regardless of the value that was set in this builder.
       *
       * @since 28.0
       */
      public <N1 extends N> ImmutableGraph.Builder<N1> immutable() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        expectContents(Arrays.asList(elements));
      }
    
      /**
       * Asserts that the collection under test contains exactly the given elements, respecting
       * cardinality but not order. Subclasses may override this method to provide stronger assertions,
       * e.g., to check ordering in lists, but realize that <strong>unless a test extends {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractMapEntry.java

      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/FunctionalEquivalence.java

        if (obj == this) {
          return true;
        }
        if (obj instanceof FunctionalEquivalence) {
          FunctionalEquivalence<?, ?> that = (FunctionalEquivalence<?, ?>) obj;
          return function.equals(that.function) && resultEquivalence.equals(that.resultEquivalence);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return Objects.hashCode(function, resultEquivalence);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 01 19:48:29 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top