- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for offer (0.65 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java
public void testOffer_supportedNotPresent() { assertTrue("offer(notPresent) should return true", getQueue().offer(e3())); expectAdded(e3()); } @CollectionFeature.Require({SUPPORTS_ADD, ALLOWS_NULL_VALUES}) public void testOffer_nullSupported() { assertTrue("offer(null) should return true", getQueue().offer(null)); expectAdded((E) null); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/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. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingDeque.java
* methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the * behavior of {@link #offer} which can lead to unexpected behavior. In this case, you should * override {@code offer} as well. * * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java
return delegate().drainTo(c); } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException { return delegate().offer(e, timeout, unit); } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override @CheckForNull
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteArrayDataOutput.java
import com.google.common.annotations.J2ktIncompatible; import java.io.DataOutput; import java.io.IOException; /** * An extension of {@code DataOutput} for writing to in-memory byte arrays; its methods offer * identical functionality but do not throw {@link IOException}. * * @author Jayaprabhakar Kadarkarai * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingQueue.java
* methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the * behavior of {@link #offer} which can lead to unexpected behavior. In this case, you should * override {@code offer} as well, either providing your own implementation, or delegating to the * provided {@code standardOffer} method. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 4.1K bytes - Viewed (0) -
android/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. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 4.4K 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() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
* <a href="https://developer.android.com/studio/build/shrink-code">R8 and Proguard</a>. * <li>It doesn't offer a way to wait for multiple events before taking action. For example, it * doesn't offer a way to wait for multiple producers to all report that they're "ready," nor * does it offer a way to batch multiple events from a single producer together.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 25 16:37:57 UTC 2021 - 12.8K 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; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 34K bytes - Viewed (0)