Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,038 for that (0.03 sec)

  1. 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)
  2. 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)
  3. guava/src/com/google/common/hash/Funnel.java

     * Implementations for common types can be found in {@link Funnels}.
     *
     * <p>Note that serialization of {@linkplain BloomFilter bloom filters} requires the proper
     * serialization of funnels. When possible, it is recommended that funnels be implemented as a
     * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), Item
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  4. android/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)
  5. guava/src/com/google/common/cache/ReferenceEntry.java

      /** Returns the key for this entry. */
      @CheckForNull
      K getKey();
    
      /*
       * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
       * New entries are added at the tail of the list at write time; stale entries are expired from
       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMultisetGwtSerializationDependencies.java

     * tries to refer to our dummy serializer for the superclass,
     * ImmutableMultiset_CustomFieldSerializer. But that type has no methods (since it's never actually
     * used). We could probably fix the problem by adding dummy methods to that class, but that is
     * starting to sound harder than taking the superclass approach, which I've been coming to like,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Partially.java

     * version.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Partially {
      /**
       * The presence of this annotation on an API indicates that the method <i>may</i> be used with the
       * <a href="http://www.gwtproject.org/">Google Web Toolkit</a> (GWT) but that it has <i>some
       * restrictions</i>.
       */
      @Retention(RetentionPolicy.CLASS)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        }
        if (!(object instanceof Set)) {
          return false;
        }
    
        Set<?> that = (Set<?>) object;
        if (size() != that.size()) {
          return false;
        } else if (isEmpty()) {
          return true;
        }
    
        if (SortedIterables.hasSameComparator(comparator, that)) {
          Iterator<?> otherIterator = that.iterator();
          try {
            Iterator<E> iterator = iterator();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Stopwatch.java

     *
     * log.info("time: " + stopwatch); // formatted string like "12.3 ms"
     * }</pre>
     *
     * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch
     * that is already in the desired state.
     *
     * <p>When testing code that uses this class, use {@link #createUnstarted(Ticker)} or {@link
     * #createStarted(Ticker)} to supply a fake or mock ticker. This allows you to simulate any valid
     * behavior of the stopwatch.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Nov 15 21:38:09 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/RemovalListener.java

     * @since 10.0
     */
    @GwtCompatible
    @FunctionalInterface
    @ElementTypesAreNonnullByDefault
    public interface RemovalListener<K, V> {
      /**
       * Notifies the listener that a removal occurred at some point in the past.
       *
       * <p>This does not always signify that the key is now absent from the cache, as it may have
       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top