- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for MinMaxPriorityQueue (0.41 sec)
-
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} /** * The builder class used in creation of min-max priority queues. Instead of constructing one * directly, use {@link MinMaxPriorityQueue#orderedBy(Comparator)}, {@link * MinMaxPriorityQueue#expectedSize(int)} or {@link MinMaxPriorityQueue#maximumSize(int)}. * * @param <B> the upper bound on the eventual type that can be produced by this builder (for
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} /** * The builder class used in creation of min-max priority queues. Instead of constructing one * directly, use {@link MinMaxPriorityQueue#orderedBy(Comparator)}, {@link * MinMaxPriorityQueue#expectedSize(int)} or {@link MinMaxPriorityQueue#maximumSize(int)}. * * @param <B> the upper bound on the eventual type that can be produced by this builder (for
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} public void testIsEvenLevel() { assertTrue(MinMaxPriorityQueue.isEvenLevel(0)); assertFalse(MinMaxPriorityQueue.isEvenLevel(1)); assertFalse(MinMaxPriorityQueue.isEvenLevel(2)); assertTrue(MinMaxPriorityQueue.isEvenLevel(3)); assertFalse(MinMaxPriorityQueue.isEvenLevel((1 << 10) - 2)); assertTrue(MinMaxPriorityQueue.isEvenLevel((1 << 10) - 1)); int i = 1 << 29;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} public void testIsEvenLevel() { assertTrue(MinMaxPriorityQueue.isEvenLevel(0)); assertFalse(MinMaxPriorityQueue.isEvenLevel(1)); assertFalse(MinMaxPriorityQueue.isEvenLevel(2)); assertTrue(MinMaxPriorityQueue.isEvenLevel(3)); assertFalse(MinMaxPriorityQueue.isEvenLevel((1 << 10) - 2)); assertTrue(MinMaxPriorityQueue.isEvenLevel((1 << 10) - 1)); int i = 1 << 29;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
}; } enum QueueImpl implements CollectionsImplEnum { MinMaxPriorityQueueImpl { @Override public <E extends Comparable<E>> Queue<E> create(Collection<E> contents) { return MinMaxPriorityQueue.create(contents); } }; } enum TableImpl { HashBasedTableImpl { @Override <R extends Comparable<R>, C extends Comparable<C>, V> Table<R, C, V> create(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
}; } enum QueueImpl implements CollectionsImplEnum { MinMaxPriorityQueueImpl { @Override public <E extends Comparable<E>> Queue<E> create(Collection<E> contents) { return MinMaxPriorityQueue.create(contents); } }; } enum TableImpl { HashBasedTableImpl { @Override <R extends Comparable<R>, C extends Comparable<C>, V> Table<R, C, V> create(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
* * <p>It is imperative that the user manually synchronize on the returned queue when accessing the * queue's iterator: * * <pre>{@code * Queue<E> queue = Queues.synchronizedQueue(MinMaxPriorityQueue.<E>create()); * ... * queue.add(element); // Needn't be in synchronized block * ... * synchronized (queue) { // Must synchronize on queue!
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
* * <p>It is imperative that the user manually synchronize on the returned queue when accessing the * queue's iterator: * * <pre>{@code * Queue<E> queue = Queues.synchronizedQueue(MinMaxPriorityQueue.<E>create()); * ... * queue.add(element); // Needn't be in synchronized block * ... * synchronized (queue) { // Must synchronize on queue!
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.2K bytes - Viewed (0)