Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Description (0.24 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      /** A collection of elements to retain, along with a description for use in failure messages. */
      private class Target {
        private final Collection<E> toRetain;
        private final String description;
    
        private Target(Collection<E> toRetain, String description) {
          this.toRetain = toRetain;
          this.description = description;
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      /** A collection of elements to retain, along with a description for use in failure messages. */
      private class Target {
        private final Collection<E> toRetain;
        private final String description;
    
        private Target(Collection<E> toRetain, String description) {
          this.toRetain = toRetain;
          this.description = description;
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimap.java

      /**
       * Removes a single key-value pair with the key {@code key} and the value {@code value} from this
       * multimap, if such exists. If multiple key-value pairs in the multimap fit this description,
       * which one is removed is unspecified.
       *
       * @return {@code true} if the multimap changed
       */
      @CanIgnoreReturnValue
      boolean remove(
          @CompatibleWith("K") @CheckForNull Object key,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

       * implementation. Experimentally determined.
       */
      private static final int MAX_HASH_BUCKET_LENGTH = 9;
    
      // See CompactHashMap for a detailed description of how the following fields work. That
      // description talks about `keys`, `values`, and `entries`; here the `keys` and `values` arrays
      // are replaced by a single `elements` array but everything else works similarly.
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * Often called multiple times (that is, both when the inputs complete and when the output
       * completes).
       *
       * <p>This is similar to our proposed {@code afterCommit} method but not quite the same. See the
       * description of CL 265462958.
       */
      // TODO(user): Write more tests for memory retention.
      @ForOverride
      @OverridingMethodsMustInvokeSuper
      void releaseResources(ReleaseResourcesReason reason) {
        checkNotNull(reason);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        List<?> exp = copyToList(expected);
        List<?> act = copyToList(actual);
        String actString = act.toString();
    
        // Of course we could take pains to give the complete description of the
        // problem on any failure.
    
        // Yeah it's n^2.
        for (Object object : exp) {
          if (!act.remove(object)) {
            Assert.fail(
                "did not contain expected element "
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          Class<?> cls, List<String> explicitTestNames, String description, Throwable e) {
        String message =
            String.format(
                Locale.ROOT,
                "Error in automated %s of %s\n"
                    + "If the class is better tested explicitly, you can add %s() to %sTest",
                description,
                cls,
                explicitTestNames.get(0),
                cls.getName());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      private enum MyOrder {
        FIRST,
        SECOND,
        THIRD;
      }
    
      private enum OtherOrder {
        FIRST,
        SECOND,
        THIRD;
      }
    
      // Given a sequence of lock acquisition descriptions
      // (e.g. "LockA -> LockB", "LockB -> LockC", ...)
      // Checks that the exception.getMessage() matches a regex of the form:
      // "LockA -> LockB \b.*\b LockB -> LockC \b.*\b LockC -> LockA"
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/FluentIterable.java

     *       parallelizing stream operations.
     *   <li>{@code FluentIterable} contains several features not available on {@code Stream}, which are
     *       noted in the method descriptions below.
     *   <li>Streams include primitive-specialized variants such as {@code IntStream}, the use of which
     *       is strongly recommended.
     *   <li>Streams are standard Java, not requiring a third-party dependency.
     * </ul>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          Class<?> cls, List<String> explicitTestNames, String description, Throwable e) {
        String message =
            String.format(
                Locale.ROOT,
                "Error in automated %s of %s\n"
                    + "If the class is better tested explicitly, you can add %s() to %sTest",
                description,
                cls,
                explicitTestNames.get(0),
                cls.getName());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
Back to top