Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PriorityQueue (0.2 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

    import com.google.common.base.Function;
    import java.math.BigInteger;
    import java.util.Comparator;
    import java.util.PriorityQueue;
    import java.util.Queue;
    import java.util.Random;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Benchmarks to compare performance of MinMaxPriorityQueue and PriorityQueue.
     *
     * @author Sverre Sundsdal
     */
    public class MinMaxPriorityQueueBenchmark {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                new TestStringQueueGenerator() {
                  @Override
                  public Queue<String> create(String[] elements) {
                    return new PriorityQueue<>(MinimalCollection.of(elements));
                  }
                })
            .named("PriorityQueue")
            .withFeatures(CollectionFeature.GENERAL_PURPOSE, CollectionSize.ANY)
            .suppressing(suppressForPriorityQueue())
            .createTestSuite();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top