- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 681 for delete (0.03 sec)
-
ForwardingDequeTest.java
Function<Deque, Deque<?>>() { L37: @Override L38: public Deque<?> apply(Deque delegate) { L39: return wrap((Deque<?>) delegate); L40: } L41: }); L42: } L43: L44: private static <T> Deque<T> wrap(final Deque<T> delegate) { L45: return new ForwardingDeque<T>() { L46: @Override L47: protected Deque<T> delegate() { L48: return delegate; L49: } L50: }; L51: } L52:}...github.com/google/guava/guava-tests/test/com/go...Thu Feb 22 20:09:59 UTC 2024 1.5K bytes -
DelegatingServerSocketFactory.kt
calls. Sockets can be configured after creation by L25: * overriding [.configureServerSocket]. L26: */ L27:open class DelegatingServerSocketFactory(private val delegate: ServerSocketFactory) : ServerSocketFactory() { L28: @Throws(IOException::class) L29: override fun createServerSocket(): ServerSocket { L30: val serverSocket = delegate.createServerSocket() L31: return configureServerSocket(serverSocket) L32: } L33: L34: @Throws(IOException::class) L35: override fun createServerSocket(port:...github.com/square/okhttp/okhttp-testing-support...Mon Jan 08 01:13:22 UTC 2024 2K bytes -
ForwardingListMultimapTest.java
wrap(map1)) L49: .addEqualityGroup(map2, wrap(map2)) L50: .testEquals(); L51: } L52: L53: private static <K, V> ListMultimap<K, V> wrap(final ListMultimap<K, V> delegate) { L54: return new ForwardingListMultimap<K, V>() { L55: @Override L56: protected ListMultimap<K, V> delegate() { L57: return delegate; L58: } L59: }; L60: } L61:}...github.com/google/guava/android/guava-tests/tes...Thu Feb 22 20:09:59 UTC 2024 1.9K bytes -
ForwardingListMultimapTest.java
wrap(map1)) L49: .addEqualityGroup(map2, wrap(map2)) L50: .testEquals(); L51: } L52: L53: private static <K, V> ListMultimap<K, V> wrap(final ListMultimap<K, V> delegate) { L54: return new ForwardingListMultimap<K, V>() { L55: @Override L56: protected ListMultimap<K, V> delegate() { L57: return delegate; L58: } L59: }; L60: } L61:}...github.com/google/guava/guava-tests/test/com/go...Thu Feb 22 20:09:59 UTC 2024 1.9K bytes -
ForwardingSetMultimapTest.java
wrap(map1)) L49: .addEqualityGroup(map2, wrap(map2)) L50: .testEquals(); L51: } L52: L53: private static <K, V> SetMultimap<K, V> wrap(final SetMultimap<K, V> delegate) { L54: return new ForwardingSetMultimap<K, V>() { L55: @Override L56: protected SetMultimap<K, V> delegate() { L57: return delegate; L58: } L59: }; L60: } L61:}...github.com/google/guava/guava-tests/test/com/go...Thu Feb 22 20:09:59 UTC 2024 1.9K bytes -
ForwardingConcurrentMap.java
ForwardingConcurrentMap() {} L46: L47: @Override L48: protected abstract ConcurrentMap<K, V> delegate(); L49: L50: @CanIgnoreReturnValue L51: @Override L52: @CheckForNull L53: public V putIfAbsent(K key, V value) { L54: return delegate().putIfAbsent(key, value); L55: } L56: L57: @CanIgnoreReturnValue L58: @Override L59: public boolean remove(@CheckForNull Object key, @CheckForNull Object value) { L60: return delegate().remove(key, value); L61: } L62: L63: @CanIgnoreReturnValue L64: @Override L65:...github.com/google/guava/android/guava/src/com/g...Tue Jun 29 19:42:21 UTC 2021 2.5K bytes -
ForwardingSortedSetMultimapTest.java
.addEqualityGroup(map2, wrap(map2)) L50: .testEquals(); L51: } L52: L53: private static <K, V> SortedSetMultimap<K, V> wrap(final SortedSetMultimap<K, V> delegate) { L54: return new ForwardingSortedSetMultimap<K, V>() { L55: @Override L56: protected SortedSetMultimap<K, V> delegate() { L57: return delegate; L58: } L59: }; L60: } L61:}...github.com/google/guava/guava-tests/test/com/go...Thu Feb 22 20:09:59 UTC 2024 2K bytes -
ForwardingCollectionTest.java
L144: @Override L145: public Collection apply(Collection delegate) { L146: return wrap(delegate); L147: } L148: }); L149: } L150: L151: private static <T> Collection<T> wrap(final Collection<T> delegate) { L152: return new ForwardingCollection<T>() { L153: @Override L154: protected Collection<T> delegate() { L155: return delegate; L156: } L157: }; L158: } L159:}...github.com/google/guava/android/guava-tests/tes...Mon Dec 04 17:37:03 UTC 2017 4.7K bytes -
ForwardingQueueTest.java
Function<Queue, Queue>() { L149: @Override L150: public Queue apply(Queue delegate) { L151: return wrap(delegate); L152: } L153: }); L154: } L155: L156: private static <T> Queue<T> wrap(final Queue<T> delegate) { L157: return new ForwardingQueue<T>() { L158: @Override L159: protected Queue<T> delegate() { L160: return delegate; L161: } L162: }; L163: } L164:}...github.com/google/guava/android/guava-tests/tes...Wed Apr 19 19:24:36 UTC 2023 4.2K bytes -
MoreExecutorsTest.java
Don't mock. L333: public void testListeningDecorator_noWrapExecuteTask() { L334: ExecutorService delegate = mock(ExecutorService.class); L335: ListeningExecutorService service = listeningDecorator(delegate); L336: Runnable task = L337: new Runnable() { L338: @Override L339: public void run() {} L340: }; L341: service.execute(task); L342: verify(delegate).execute(task); L343: } L344: L345: public void testListeningDecorator_scheduleSuccess() throws Exception...github.com/google/guava/guava-tests/test/com/go...Fri Oct 18 22:10:29 UTC 2024 28.1K bytes