- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 681 for delete (0.04 sec)
-
ForwardingSortedMultisetTest.java
wrap(set1)) L224: .addEqualityGroup(set2, wrap(set2)) L225: .testEquals(); L226: } L227: L228: private static <T> SortedMultiset<T> wrap(final SortedMultiset<T> delegate) { L229: return new ForwardingSortedMultiset<T>() { L230: @Override L231: protected SortedMultiset<T> delegate() { L232: return delegate; L233: } L234: }; L235: } L236:}...github.com/google/guava/android/guava-tests/tes...Sat Oct 19 00:05:46 UTC 2024 6.4K bytes -
ForwardingListTest.java
t1, wrap(list1), wrap(list1)) L209: .addEqualityGroup(list2, wrap(list2)) L210: .testEquals(); L211: } L212: L213: private static <T> List<T> wrap(final List<T> delegate) { L214: return new ForwardingList<T>() { L215: @Override L216: protected List<T> delegate() { L217: return delegate; L218: } L219: }; L220: } L221:}...github.com/google/guava/guava-tests/test/com/go...Mon Apr 17 15:49:06 UTC 2023 5.9K bytes -
SynchronizedMapTest.java
extends ForwardingMap<K, V> implements Serializable { L48: public final Object mutex; L49: private Map<K, V> delegate; L50: L51: public TestMap(Map<K, V> delegate, Object mutex) { L52: checkNotNull(mutex); L53: this.delegate = delegate; L54: this.mutex = mutex; L55: } L56: L57: @Override L58: protected Map<K, V> delegate() { L59: return delegate; L60: } L61: L62: @Override L63: public int size() { L64: assertTrue(Thread.holdsLock(mutex)); L65: ...github.com/google/guava/android/guava-tests/tes...Tue Aug 06 17:23:04 UTC 2024 5.8K bytes -
Striped.java
WeakSafeLock extends ForwardingLock { L307: private final Lock delegate; L308: L309: @SuppressWarnings("unused") L310: private final WeakSafeReadWriteLock strongReference; L311: L312: WeakSafeLock(Lock delegate, WeakSafeReadWriteLock strongReference) { L313: this.delegate = delegate; L314: this.strongReference = strongReference; L315: } L316: L317: @Override L318: Lock delegate() { L319: return delegate; L320: } L321: L322: @Override L323: public Condition...github.com/google/guava/guava/src/com/google/co...Wed Jun 26 12:58:35 UTC 2024 20.6K bytes -
DeferredSocketAdapter.kt
getDelegate(sslSocket)?.getSelectedProtocol(sslSocket) L48: } L49: L50: @Synchronized private fun getDelegate(sslSocket: SSLSocket): SocketAdapter? { L51: if (this.delegate == null && socketAdapterFactory.matchesSocket(sslSocket)) { L52: this.delegate = socketAdapterFactory.create(sslSocket) L53: } L54: L55: return delegate L56: } L57: L58: interface Factory { L59: fun matchesSocket(sslSocket: SSLSocket): Boolean L60: L61: fun create(sslSocket: SSLSocket): SocketAdapter L62: }...github.com/square/okhttp/okhttp/src/main/kotlin...Mon Jan 08 01:13:22 UTC 2024 2.1K bytes -
ForwardingListeningExecutorService.java
protected ForwardingListeningExecutorService() {} L42: L43: @Override L44: protected abstract ListeningExecutorService delegate(); L45: L46: @Override L47: public <T extends @Nullable Object> ListenableFuture<T> submit(Callable<T> task) { L48: return delegate().submit(task); L49: } L50: L51: @Override L52: public ListenableFuture<?> submit(Runnable task) { L53: return delegate().submit(task); L54: } L55: L56: @Override L57: public <T extends @Nullable Object> ListenableFuture<T> submit(...github.com/google/guava/android/guava/src/com/g...Tue Apr 04 09:45:04 UTC 2023 2.2K bytes -
ConnectionPool.kt
connections in the pool. */ L116: fun idleConnectionCount(): Int = delegate.idleConnectionCount() L117: L118: /** Returns total number of connections in the pool. */ L119: fun connectionCount(): Int = delegate.connectionCount() L120: L121: internal val connectionListener: ConnectionListener L122: get() = delegate.connectionListener L123: L124: /** Close and remove all idle connections in the pool. */ L125: fun evictAll() { L126: delegate.evictAll() L127: } L128: L129: /** L130: * Sets a policy...github.com/square/okhttp/okhttp/src/main/kotlin...Wed Apr 03 20:39:41 UTC 2024 5.6K bytes -
ForwardingMultisetTest.java
wrap(set1), wrap(set1)) L355: .addEqualityGroup(set2, wrap(set2)) L356: .testEquals(); L357: } L358: L359: private static <T> Multiset<T> wrap(final Multiset<T> delegate) { L360: return new ForwardingMultiset<T>() { L361: @Override L362: protected Multiset<T> delegate() { L363: return delegate; L364: } L365: }; L366: } L367:}...github.com/google/guava/android/guava-tests/tes...Sat Oct 19 00:05:46 UTC 2024 11.8K bytes -
ForwardingNavigableMapTest.java
L324: .addEqualityGroup(map2, wrap(map2)) L325: .testEquals(); L326: } L327: L328: private static <K, V> NavigableMap<K, V> wrap(final NavigableMap<K, V> delegate) { L329: return new ForwardingNavigableMap<K, V>() { L330: @Override L331: protected NavigableMap<K, V> delegate() { L332: return delegate; L333: } L334: }; L335: } L336:}...github.com/google/guava/guava-tests/test/com/go...Wed Apr 19 19:24:36 UTC 2023 9.5K bytes -
ForwardingListMultimap.java
subclasses. */ L43: protected ForwardingListMultimap() {} L44: L45: @Override L46: protected abstract ListMultimap<K, V> delegate(); L47: L48: @Override L49: public List<V> get(@ParametricNullness K key) { L50: return delegate().get(key); L51: } L52: L53: @CanIgnoreReturnValue L54: @Override L55: public List<V> removeAll(@CheckForNull Object key) { L56: return delegate().removeAll(key); L57: } L58: L59: @CanIgnoreReturnValue L60: @Override L61: public List<V> replaceValues(@ParametricNullness...github.com/google/guava/android/guava/src/com/g...Tue Jun 15 21:08:00 UTC 2021 2.2K bytes