Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 439 for sortBy (0.15 sec)

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

      private static ImmutableList<String> sortedNumberNames(int i, int j) {
        return ImmutableList.copyOf(SORTED_NUMBER_NAMES.subList(i, j));
      }
    
      private static final ImmutableList<String> NUMBER_NAMES =
          ImmutableList.of("one", "two", "three", "four", "five", "six", "seven");
    
      private static final ImmutableList<String> SORTED_NUMBER_NAMES =
          Ordering.<String>natural().immutableSortedCopy(NUMBER_NAMES);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
        public Enums() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
        public Enums() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableBiMap.java

         * order in which entries were inserted into the builder, unless {@link #orderEntriesByValue}
         * was called, in which case entries are sorted by value.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate keys or values. The {@code build()} method
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

       * the same order. If you want a different order, consider using {@link ImmutableSortedMap} to
       * sort by keys, or call {@link #orderEntriesByValue(Comparator)}, which changes this builder to
       * sort entries by value.
       *
       * <p>Builder instances can be reused - it is safe to call {@link #buildOrThrow} multiple times to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/FluentIterable.java

       * ImmutableList} sorted by its natural ordering, use {@code toSortedList(Ordering.natural())}.
       *
       * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableList#toImmutableList} to {@code
       * stream.sorted(comparator).collect()}.
       *
       * @param comparator the function by which to sort list elements
    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)
  7. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

            stream(tags).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
            buf.append(CACHE_KEY_SPLITTER);
            stream(roles).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
            buf.append(CACHE_KEY_SPLITTER);
            stream(fields).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

            Lists.newArrayList(list1, list2, list3, list4, list5, list6, list7, list8, null);
        List<@Nullable List<@Nullable Integer>> sorted = example.sortedCopy(list);
    
        // [[null, null], [null], [1, null, 2], [1, 1], [1, 2], [1], [2], [], null]
        assertThat(sorted)
            .containsExactly(
                Lists.<@Nullable Integer>newArrayList(nullInt, nullInt),
                Lists.<@Nullable Integer>newArrayList(nullInt),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            Lists.newArrayList(list1, list2, list3, list4, list5, list6, list7, list8, null);
        List<@Nullable List<@Nullable Integer>> sorted = example.sortedCopy(list);
    
        // [[null, null], [null], [1, null, 2], [1, 1], [1, 2], [1], [2], [], null]
        assertThat(sorted)
            .containsExactly(
                Lists.<@Nullable Integer>newArrayList(nullInt, nullInt),
                Lists.<@Nullable Integer>newArrayList(nullInt),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    You can add the changes to any place in the file, e.g. at the top.
    
    3. Make sure the file with accepted changes is sorted.\
    Use the `./gradlew :architecture-test:sortAcceptedApiChanges` task to sort the file.
    
    4. Validate your changes before committing.\
    Run the `./gradlew sanityCheck` task again to make sure there are no more errors.
    
    #### Filtering changes by severity
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat May 04 07:43:02 GMT 2024
    - 15.6K bytes
    - Viewed (0)
Back to top