Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 255 for explicit (0.05 sec)

  1. 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 =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. 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));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. 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(' ', '~');
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java

       * return the cause of the failure. "Failure" means specifically "completed with an exception"; it
       * does not include "was cancelled." To be explicit: If this method returns a non-null value,
       * then:
       *
       * <ul>
       *   <li>{@code isDone()} must return {@code true}
       *   <li>{@code isCancelled()} must return {@code false}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        Optional<String> z = Optional.of("z");
    
        Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length));
        testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
        Comparator<Optional<String>> unused = emptiesFirst(naturalOrder());
      }
    
      public void testEmptiesLast() {
        Optional<String> empty = Optional.empty();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                    String[] outputs;
    
                    final List<String> sides = split(line, "=>");
                    if (sides.size() > 1) { // explicit mapping
                        if (sides.size() != 2) {
                            throw new DictionaryException("more than one explicit mapping specified on the same line");
                        }
                        final List<String> inputStrings = split(sides.get(0), ",");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

    import java.util.Map.Entry;
    import java.util.SortedSet;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit tests for {@code TreeMultimap} with explicit comparators.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class TreeMultimapExplicitTest extends TestCase {
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       * TBSCertificate ::= SEQUENCE  {
       *   version         [0]  EXPLICIT Version DEFAULT v1,
       *   serialNumber         CertificateSerialNumber,
       *   signature            AlgorithmIdentifier,
       *   issuer               Name,
       *   validity             Validity,
       *   subject              Name,
       *   subjectPublicKeyInfo SubjectPublicKeyInfo,
       *   issuerUniqueID  [1]  IMPLICIT UniqueIdentifier OPTIONAL, -- If present, version MUST be v2 or v3
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top