Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for stringLength (0.2 sec)

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

        return TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
      }
    
      /** Create and populate a {@code TreeMultimap} with explicit comparators. */
      private TreeMultimap<@Nullable String, @Nullable Integer> createPopulate() {
        TreeMultimap<@Nullable String, @Nullable Integer> multimap =
            TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
        multimap.put("google", 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        SortedSet<String> set =
            ImmutableSortedSet.copyOf(
                STRING_LENGTH, asList("in", "the", "quick", "jumped", "over", "a"));
        assertSame(STRING_LENGTH, set.comparator());
      }
    
      public void testCopyOfExplicit_iterator_ordering() {
        SortedSet<String> set =
            ImmutableSortedSet.copyOf(
                STRING_LENGTH, asIterator("in", "the", "quick", "jumped", "over", "a"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Benchmark for the {@link CharMatcher#whitespace} implementation. */
    @NullUnmarked
    public class WhitespaceMatcherBenchmark {
      private static final int STRING_LENGTH = 10000;
    
      private static final String OLD_WHITESPACE_TABLE =
          "\u0001\u0000\u00a0\u0000\u0000\u0000\u0000\u0000"
              + "\u0000\u0009\n\u000b\u000c\r\u0000\u0000\u2028\u2029\u0000\u0000\u0000\u0000\u0000"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top