Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 126 for sorted (0.18 sec)

  1. android/guava/src/com/google/common/collect/Comparators.java

    @ElementTypesAreNonnullByDefault
    public final class Comparators {
      private Comparators() {}
    
      /**
       * Returns a new comparator which sorts iterables by comparing corresponding elements pairwise
       * until a nonzero result is found; imposes "dictionary order." If the end of one iterable is
       * reached, but not the other, the shorter iterable is considered to be less than the longer one.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates sorted maps, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    
    /**
     * Implementation helper for {@link TestMapGenerator} for use with sorted maps of strings.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringSortedMapGenerator extends TestStringMapGenerator
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

        return (SortedSet<String>) super.create(elements);
      }
    
      @Override
      protected abstract SortedSet<String> create(String[] elements);
    
      /** Sorts the elements by their natural ordering. */
      @Override
      public List<String> order(List<String> insertionOrder) {
        Collections.sort(insertionOrder);
        return insertionOrder;
      }
    
      @Override
      public String belowSamplesLesser() {
        return "!! a";
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultimap.java

      public NavigableSet<V> get(@ParametricNullness K key) {
        return (NavigableSet<V>) super.get(key);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code TreeMultimap} has unique sorted keys, this method returns a {@link
       * NavigableSet}, instead of the {@link java.util.Set} specified in the {@link Multimap}
       * interface.
       *
       * @since 14.0 (present with return type {@code SortedSet} since 2.0)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                buf.append(roleTypeList.stream().sorted().collect(Collectors.joining(",")));
            }
    
            @SuppressWarnings("unchecked")
            final List<String> virtualHostList = (List<String>) dataMap.get(fessConfig.getIndexFieldVirtualHost());
            if (virtualHostList != null && !virtualHostList.isEmpty()) {
                buf.append(";v=");
                buf.append(virtualHostList.stream().sorted().collect(Collectors.joining(",")));
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (1)
  7. guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

        return new AnEnum[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the elements sorted in natural order. */
      @Override
      public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) {
        return orderEntriesByKey(insertionOrder);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

        return new AnEnum[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the elements sorted in natural order. */
      @Override
      public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) {
        return orderEntriesByKey(insertionOrder);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            // ensure canonical order of standard lifecycles
            return lifecyclesMap.values().stream()
                    .peek(l -> Objects.requireNonNull(l.getId(), "A lifecycle must have an id."))
                    .sorted(Comparator.comparing(Lifecycle::getId, comparator))
                    .collect(Collectors.toList());
        }
    
        private Map<String, Lifecycle> lookupLifecycles() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        tree.put(1.0, 2.0);
        tree.put(2.0, 3.0);
        tree.put(3.0, 4.0);
        tree.put(4.0, 5.0);
    
        SortedSetMultimap<Double, Double> sorted = Multimaps.unmodifiableSortedSetMultimap(tree);
        TreeMultimap<Double, Double> copyFromSorted = TreeMultimap.create(sorted);
        assertEquals(tree, copyFromSorted);
        assertSame(Ordering.natural(), copyFromSorted.keyComparator());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top