Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 179 for EXPLICIT (0.22 seconds)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        new EqualsTester()
            .addEqualityGroup(c, Ordering.explicit(42, 5))
            .addEqualityGroup(Ordering.explicit(5, 42))
            .addEqualityGroup(Ordering.explicit(42))
            .testEquals();
        reserializeAndAssert(c);
      }
    
      public void testExplicit_sortingExample() {
        Comparator<Integer> c = Ordering.explicit(2, 8, 6, 1, 7, 5, 3, 4, 0, 9);
        List<Integer> list = asList(0, 3, 5, 6, 7, 8, 9);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        new EqualsTester()
            .addEqualityGroup(c, Ordering.explicit(42, 5))
            .addEqualityGroup(Ordering.explicit(5, 42))
            .addEqualityGroup(Ordering.explicit(42))
            .testEquals();
        reserializeAndAssert(c);
      }
    
      public void testExplicit_sortingExample() {
        Comparator<Integer> c = Ordering.explicit(2, 8, 6, 1, 7, 5, 3, 4, 0, 9);
        List<Integer> list = asList(0, 3, 5, 6, 7, 8, 9);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class MultimapBuilderTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // doesn't build without explicit type parameters on build() methods
      public void testGenerics() {
        ListMultimap<String, Integer> unusedA = MultimapBuilder.hashKeys().arrayListValues().build();
        SortedSetMultimap<String, Integer> unusedB =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       visible static factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
       * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an
       * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code
       * C} will be excluded from automated serialization test performed by this method.
       */
      @Test
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

      /**
       * Creates a new ArrayBasedCharEscaper instance with the given replacement map and specified safe
       * range. If {@code safeMax < safeMin} then no characters are considered safe. This initializer is
       * useful when explicit instances of ArrayBasedEscaperMap are used to allow the sharing of large
       * replacement mappings.
       *
       * <p>If a character has no mapped replacement then it is checked against the safe range. If it
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      /**
       * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified
       * safe range. If {@code safeMax < safeMin} then no code points are considered safe. This
       * initializer is useful when explicit instances of ArrayBasedEscaperMap are used to allow the
       * sharing of large replacement mappings.
       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java

        /**
         * Gets the identifiers of those profiles that should be activated by explicit demand.
         *
         * @return The identifiers of those profiles to activate, never {@code null}.
         */
        List<String> getActiveProfileIds();
    
        /**
         * Gets the identifiers of those profiles that should be deactivated by explicit demand.
         *
         * @return The identifiers of those profiles to deactivate, never {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/escape/EscapersTest.java

        assertThat(builder.build().escape("The Quick Brown Fox!")).isEqualTo("XheXXuickXXrownXXoxX");
        // Explicit replacements take priority over unsafe characters.
        builder.addEscape(' ', "_");
        builder.addEscape('!', "_");
        assertThat(builder.build().escape("The Quick Brown Fox!")).isEqualTo("Xhe_Xuick_Xrown_Xox_");
        // Explicit replacements take priority over safe characters.
        builder.setSafeRange(' ', '~');
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        // Collapse equal elements, which Ordering.explicit() doesn't support, while
        // maintaining the ordering by first occurrence.
        Set<String> elementsPlus = new LinkedHashSet<>();
        elementsPlus.add(BEFORE_FIRST);
        elementsPlus.add(BEFORE_FIRST_2);
        elementsPlus.addAll(asList(elements));
        elementsPlus.add(AFTER_LAST);
        elementsPlus.add(AFTER_LAST_2);
        return Ordering.explicit(new ArrayList<>(elementsPlus));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     *   <li><strong>Parent Element Trimming</strong>:
     *     <ul>
     *       <li>Removes parent {@code <groupId>} when child has no explicit groupId</li>
     *       <li>Removes parent {@code <version>} when child has no explicit version</li>
     *       <li>Removes parent {@code <artifactId>} when it can be inferred from relativePath</li>
     *     </ul>
     *   </li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
Back to Top