Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 631 for that (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava/src/com/google/common/util/concurrent/Callables.java

        checkNotNull(callable);
        checkNotNull(listeningExecutorService);
        return () -> listeningExecutorService.submit(callable);
      }
    
      /**
       * Wraps the given callable such that for the duration of {@link Callable#call} the thread that is
       * running will have the given name.
       *
       * @param callable The callable to wrap
       * @param nameSupplier The supplier of thread names, {@link Supplier#get get} will be called once
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top