- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 681 for delete (0.04 sec)
-
AbstractBiMap.java
null) ? entrySet = new EntrySet() : result; L329: } L330: L331: class BiMapEntry extends ForwardingMapEntry<K, V> { L332: private final Entry<K, V> delegate; L333: L334: BiMapEntry(Entry<K, V> delegate) { L335: this.delegate = delegate; L336: } L337: L338: @Override L339: protected Entry<K, V> delegate() { L340: return delegate; L341: } L342: L343: @Override L344: public V setValue(V value) { L345: checkValue(value); L346: // Preconditions keep the map and...github.com/google/guava/guava/src/com/google/co...Thu Aug 24 01:40:03 UTC 2023 14.6K bytes -
ForwardingLoadingCache.java
{@link LoadingCache} as the delegate. L76: * L77: * @since 10.0 L78: */ L79: public abstract static class SimpleForwardingLoadingCache<K, V> L80: extends ForwardingLoadingCache<K, V> { L81: private final LoadingCache<K, V> delegate; L82: L83: protected SimpleForwardingLoadingCache(LoadingCache<K, V> delegate) { L84: this.delegate = Preconditions.checkNotNull(delegate); L85: } L86: L87: @Override L88: protected final LoadingCache<K, V> delegate() { L89: return delegate;...github.com/google/guava/android/guava/src/com/g...Sat Aug 06 17:12:03 UTC 2022 2.9K bytes -
SafeTreeMap.java
L66: this(new TreeMap<K, V>(map)); L67: } L68: L69: private SafeTreeMap(NavigableMap<K, V> delegate) { L70: this.delegate = delegate; L71: if (delegate == null) { L72: throw new NullPointerException(); L73: } L74: for (K k : keySet()) { L75: checkValid(k); L76: } L77: } L78: L79: @Override L80: public @Nullable Entry<K, V> ceilingEntry(K key) { L81: return delegate.ceilingEntry(checkValid(key)); L82: } L83: L84: @Override L85: public @Nullable K ceilingKey(K...github.com/google/guava/guava-testlib/src/com/g...Tue Feb 20 17:00:05 UTC 2024 7.5K bytes -
UnmodifiableSortedMultiset.java
extends UnmodifiableMultiset<E> L39: implements SortedMultiset<E> { L40: UnmodifiableSortedMultiset(SortedMultiset<E> delegate) { L41: super(delegate); L42: } L43: L44: @Override L45: protected SortedMultiset<E> delegate() { L46: return (SortedMultiset<E>) super.delegate(); L47: } L48: L49: @Override L50: public Comparator<? super E> comparator() { L51: return delegate().comparator(); L52: } L53: L54: @Override L55: NavigableSet<E> createElementSet() { L56: return unmodifiable...github.com/google/guava/guava/src/com/google/co...Wed Oct 30 16:15:19 UTC 2024 3.6K bytes -
WebSocketExtensionsTest.kt
true)) L51: } L52: L53: @Test L54: fun emptyParameters() { L55: assertThat(parse("permessage-deflate;")) L56: .isEqualTo(WebSocketExtensions(perMessageDeflate = true)) L57: } L58: L59: @Test L60: fun repeatedPerMessageDeflate() { L61: assertThat(parse("permessage-deflate, permessage-deflate; server_no_context_takeover")) L62: .isEqualTo( L63: WebSocketExtensions( L64: perMessageDeflate = true, L65: serverNoContextTakeover = true, L66: unknownValues...github.com/square/okhttp/okhttp/src/test/java/o...Mon Jan 08 01:13:22 UTC 2024 8.3K bytes -
TimeoutFuture.java
@CheckForNull @LazyInit private ListenableFuture<V> delegateRef; L82: @CheckForNull @LazyInit private ScheduledFuture<?> timer; L83: L84: private TimeoutFuture(ListenableFuture<V> delegate) { L85: this.delegateRef = Preconditions.checkNotNull(delegate); L86: } L87: L88: /** A runnable that is called when the delegate or the timer completes. */ L89: private static final class Fire<V extends @Nullable Object> implements Runnable { L90: @CheckForNull @LazyInit TimeoutFuture<V> timeoutFutureRef;...github.com/google/guava/android/guava/src/com/g...Fri Oct 25 13:13:32 UTC 2024 8.1K bytes -
SynchronizedTableTest.java
tex)); L39: return delegate.equals(o); L40: } L41: L42: @Override L43: public int hashCode() { L44: assertTrue(Thread.holdsLock(mutex)); L45: return delegate.hashCode(); L46: } L47: L48: @Override L49: public int size() { L50: assertTrue(Thread.holdsLock(mutex)); L51: return delegate.size(); L52: } L53: L54: @Override L55: public boolean isEmpty() { L56: assertTrue(Thread.holdsLock(mutex)); L57: return delegate.isEmpty(); L58: } L59:...github.com/google/guava/guava-tests/test/com/go...Tue Aug 06 17:23:04 UTC 2024 4.6K bytes -
ReserializingTestCollectionGenerator.java
implements TestCollectionGenerator<E> { L37: private final TestCollectionGenerator<E> delegate; L38: L39: ReserializingTestCollectionGenerator(TestCollectionGenerator<E> delegate) { L40: this.delegate = delegate; L41: } L42: L43: public static <E> ReserializingTestCollectionGenerator<E> newInstance( L44: TestCollectionGenerator<E> delegate) { L45: return new ReserializingTestCollectionGenerator<>(delegate); L46: } L47: L48: @Override L49: public Collection<E> create(Object... elements)...github.com/google/guava/android/guava-testlib/s...Tue Jun 11 16:13:05 UTC 2024 2.4K bytes -
InvokableTest.java
Invokable<?, ?> delegate = Prepender.method("staticMethod"); L428: assertTrue(delegate.isStatic()); L429: assertFalse(delegate.isOverridable()); L430: assertFalse(delegate.isVarArgs()); L431: } L432: L433: public void testStaticFinalMethod_isFinal() throws Exception { L434: Invokable<?, ?> delegate = Prepender.method("staticFinalMethod"); L435: assertTrue(delegate.isStatic()); L436: assertTrue(delegate.isFinal()); L437: assertFalse(delegate.isOverridable()); L438: ass...github.com/google/guava/android/guava-tests/tes...Thu Oct 17 13:00:28 UTC 2024 30.7K bytes -
InvokableTest.java
Invokable<?, ?> delegate = Prepender.method("staticMethod"); L428: assertTrue(delegate.isStatic()); L429: assertFalse(delegate.isOverridable()); L430: assertFalse(delegate.isVarArgs()); L431: } L432: L433: public void testStaticFinalMethod_isFinal() throws Exception { L434: Invokable<?, ?> delegate = Prepender.method("staticFinalMethod"); L435: assertTrue(delegate.isStatic()); L436: assertTrue(delegate.isFinal()); L437: assertFalse(delegate.isOverridable()); L438: ass...github.com/google/guava/guava-tests/test/com/go...Thu Oct 17 13:00:28 UTC 2024 30.7K bytes