Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for description (0.33 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/src/com/google/common/base/SmallCharMatcher.java

      private final char[] table;
      private final boolean containsZero;
      private final long filter;
    
      private SmallCharMatcher(char[] table, long filter, boolean containsZero, String description) {
        super(description);
        this.table = table;
        this.filter = filter;
        this.containsZero = containsZero;
      }
    
      private static final int C1 = 0xcc9e2d51;
      private static final int C2 = 0x1b873593;
    
      /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. 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)
  4. android/guava/src/com/google/common/base/CharMatcher.java

          int negatedCharacters = DISTINCT_CHARS - totalCharacters;
          String suffix = ".negate()";
          final String description = toString();
          String negatedDescription =
              description.endsWith(suffix)
                  ? description.substring(0, description.length() - suffix.length())
                  : description + suffix;
          return new NegatedFastMatcher(
              precomputedPositive(negatedCharacters, table, negatedDescription)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Enums.java

      private Enums() {}
    
      /**
       * Returns the {@link Field} in which {@code enumValue} is defined. For example, to get the {@code
       * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code
       * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}.
       *
       * @since 12.0
       */
      @GwtIncompatible // reflection
      public static Field getField(Enum<?> enumValue) {
        Class<?>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. guava/src/com/google/common/base/CharMatcher.java

          int negatedCharacters = DISTINCT_CHARS - totalCharacters;
          String suffix = ".negate()";
          final String description = toString();
          String negatedDescription =
              description.endsWith(suffix)
                  ? description.substring(0, description.length() - suffix.length())
                  : description + suffix;
          return new NegatedFastMatcher(
              precomputedPositive(negatedCharacters, table, negatedDescription)) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top