Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 777 for that (0.06 sec)

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

      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof NullsFirstOrdering) {
          NullsFirstOrdering<?> that = (NullsFirstOrdering<?>) object;
          return this.ordering.equals(that.ordering);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return ordering.hashCode() ^ 957692532; // meaningless
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/NullsLastOrdering.java

      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof NullsLastOrdering) {
          NullsLastOrdering<?> that = (NullsLastOrdering<?>) object;
          return this.ordering.equals(that.ordering);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return ordering.hashCode() ^ -921210296; // meaningless
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/NullsLastOrdering.java

      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof NullsLastOrdering) {
          NullsLastOrdering<?> that = (NullsLastOrdering<?>) object;
          return this.ordering.equals(that.ordering);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return ordering.hashCode() ^ -921210296; // meaningless
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

          }
        },
        // It really seems like this should be faster than TO_BYTE_ARRAY_NEW_STRING.  But it just isn't
        // my best guess is that the jdk authors have spent more time optimizing that callpath than this
        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
        // theoretically we could duplicate all that logic here to try to beat 'new String' or at least
        // come close.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * using the latest values obtained from {@link IteratorTester#newTargetIterator()}.
     *
     * <p>The value you pass to the parameter {@code steps} should be greater than the length of your
     * iterator, so that this class can check that your iterator behaves correctly when it is exhausted.
     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
     * Collections.unmodifiableList}'s iterator:
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/JdkBackedImmutableMap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Map;
    
    /**
     * GWT emulation of {@link JdkBackedImmutableMap}. Never used, but must exist so that the client is
     * willing to deserialize maps that were this type on the server.
     */
    @ElementTypesAreNonnullByDefault
    final class JdkBackedImmutableMap<K, V> extends ForwardingImmutableMap<K, V> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularContiguousSet.java

        if (object == this) {
          return true;
        } else if (object instanceof RegularContiguousSet) {
          RegularContiguousSet<?> that = (RegularContiguousSet<?>) object;
          if (this.domain.equals(that.domain)) {
            return this.first().equals(that.first()) && this.last().equals(that.last());
          }
        }
        return super.equals(object);
      }
    
      // copied to make sure not to use the GWT-emulated version
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/NetworkBuilder.java

        this.allowsParallelEdges = allowsParallelEdges;
        return this;
      }
    
      /**
       * Specifies whether the network will allow self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a network that does not allow them will throw an {@link
       * UnsupportedOperationException}.
       *
       * <p>The default value is {@code false}.
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/annotations/VisibleForTesting.java

    package com.google.common.annotations;
    
    /**
     * Annotates a program element that exists, or is more widely visible than otherwise necessary, only
     * for use in test code.
     *
     * <p><b>Do not use this interface</b> for public or protected declarations: it is a fig leaf for
     * bad design, and it does not prevent anyone from using the declaration---and experience has shown
     * that they will. If the method breaks the encapsulation of its class, then its internal
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 30 22:25:16 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/internal/Finalizer.java

          /*
           * FinalizableReference's class loader was reclaimed. While there's a chance that other
           * finalizable references could be enqueued subsequently (at which point the class loader
           * would be resurrected by virtue of us having a strong reference to it), we should pretty
           * much just shut down and make sure we don't keep it alive any longer than necessary.
           */
          return null;
        }
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 23 12:54:09 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top