- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 81 for offer (0.15 sec)
-
guava/src/com/google/common/collect/ForwardingBlockingDeque.java
* to the methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change * the behaviour of {@link #offer} which can lead to unexpected behaviour. In this case, you should * override {@code offer} as well, either providing your own implementation, or delegating to the * provided {@code standardOffer} method. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
if (!requestQueue.offer( new Request(methodName, arguments), TIMEOUT_MILLIS, TimeUnit.MILLISECONDS)) { throw new TimeoutException(); } } /** * Receives a response from this thread. * * @throws TimeoutException if this thread does not offer a response within a reasonable amount of * time
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 10.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
* tailored to that use case. * * <p>This uses the same efficient implementation as {@link Ordering#leastOf(Iterable, int)}, * offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@link * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same * asymptotics but requires O(n) memory, and a {@code PriorityQueue} implementation takes O(n log
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 11.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
private final Queue<E> delegate = Lists.newLinkedList(); public final Object mutex = new Integer(1); // something Serializable @Override public boolean offer(E o) { assertTrue(Thread.holdsLock(mutex)); return delegate.offer(o); } @Override public @Nullable E poll() { assertTrue(Thread.holdsLock(mutex)); return delegate.poll(); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/package-info.java
* * <p>The classes in this package include: * * <h2>Immutable collections</h2> * * These are collections whose contents will never change. They also offer a few additional * guarantees (see {@link ImmutableCollection} for details). Implementations are available for both * the JDK collection types and the Guava collection types (listed below). * * <h2>Collection types</h2> *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jul 06 16:29:45 GMT 2023 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
if (!requestQueue.offer( new Request(methodName, arguments), TIMEOUT_MILLIS, TimeUnit.MILLISECONDS)) { throw new TimeoutException(); } } /** * Receives a response from this thread. * * @throws TimeoutException if this thread does not offer a response within a reasonable amount of * time
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 10.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
*/ @CanIgnoreReturnValue @Override public boolean add(E element) { offer(element); return true; } @CanIgnoreReturnValue @Override public boolean addAll(Collection<? extends E> newElements) { boolean modified = false; for (E element : newElements) { offer(element); modified = true; } return modified; } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 34K bytes - Viewed (0) -
LICENSE
this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their
Plain Text - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 22 18:59:39 GMT 2023 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingQueueTest.java
return standardToArray(array); } @Override public String toString() { return standardToString(); } @Override public boolean offer(T o) { return standardOffer(o); } @Override public @Nullable T peek() { return standardPeek(); } @Override public @Nullable T poll() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java
return standardToArray(array); } @Override public String toString() { return standardToString(); } @Override public boolean offer(T o) { return standardOffer(o); } @Override public @Nullable T peek() { return standardPeek(); } @Override public @Nullable T poll() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 4.2K bytes - Viewed (0)