Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 249 for isSorted (0.11 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestSortedSetGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.SortedSet;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates sorted sets, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public interface TestSortedSetGenerator<E extends @Nullable Object> extends TestSetGenerator<E> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

    import java.util.Set;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable sorted set with one or more elements. TODO(jlevy): Consider separate class for a
     * single-element sorted set.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings({"serial", "rawtypes"})
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

            super(buildMessage(message, problems), null);
            this.problems = problems;
        }
    
        /**
         * Formats message out of problems: problems are sorted (in natural order of {@link BuilderProblem.Severity})
         * and then a list is built. These exceptions are usually thrown in "fatal" cases (and usually prevent Maven
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java

        MavenExecutionResult setProject(MavenProject project);
    
        MavenProject getProject();
    
        MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> projects);
    
        /**
         * @return the sorted list, or an empty list if there are no projects.
         */
        List<MavenProject> getTopologicallySortedProjects();
    
        MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult result);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

    /**
     * Implementation of {@code Table} whose iteration ordering across row keys is sorted by their
     * natural ordering or by a supplied comparator. Note that iterations across the columns keys for a
     * single row key may or may not be ordered, depending on the implementation. When rows and columns
     * are both sorted, it's easier to use the {@link TreeBasedTable} subclass.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              assertFalse(resultsForStrategy.contains(null));
            }
            if ((characteristics & Spliterator.SORTED) != 0) {
              Comparator<? super E> comparator = spliterator.getComparator();
              if (comparator == null) {
                // A sorted spliterator with no comparator is already using natural order.
                // (We could probably find a way to avoid rawtypes here if we wanted.)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              assertFalse(resultsForStrategy.contains(null));
            }
            if ((characteristics & Spliterator.SORTED) != 0) {
              Comparator<? super E> comparator = spliterator.getComparator();
              if (comparator == null) {
                // A sorted spliterator with no comparator is already using natural order.
                // (We could probably find a way to avoid rawtypes here if we wanted.)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

     */
    package org.apache.maven.project;
    
    import java.io.File;
    import java.util.HashMap;
    import java.util.Map;
    
    /**
     * Holds all POM files that are known to the reactor. This allows the project builder to resolve imported POMs from the
     * reactor when building another project's effective model.
     */
    class ReactorModelPool {
    
        private final Map<CacheKey, File> pomFiles = new HashMap<>();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            PrintWriter out;
            SmbFile[] dirents;
            SmbFile f;
            int i, j, len, maxLen, dirCount, fileCount, sort;
            String str, name, path, fmt;
            LinkedList sorted;
            ListIterator iter;
            final SimpleDateFormat sdf = new SimpleDateFormat("MM/d/yy h:mm a");
            final GregorianCalendar cal = new GregorianCalendar();
    
            sdf.setCalendar(cal);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

    @NullUnmarked
    public class SortedCopyBenchmark {
      @Param({"1", "10", "1000", "1000000"})
      int size; // logarithmic triangular
    
      @Param boolean mutable;
    
      @Param InputOrder inputOrder;
    
      enum InputOrder {
        SORTED {
          @Override
          void arrange(List<Integer> list) {
            sort(list);
          }
        },
        ALMOST_SORTED {
          @Override
          void arrange(List<Integer> list) {
            sort(list);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top