Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 681 for delete (0.03 sec)

  1. ForwardingSetTest.java

    .addEqualityGroup(set1, wrap(set1), wrap(set1)) L167: .addEqualityGroup(set2, wrap(set2)) L168: .testEquals(); L169: } L170: L171: private static <T> Set<T> wrap(final Set<T> delegate) { L172: return new ForwardingSet<T>() { L173: @Override L174: protected Set<T> delegate() { L175: return delegate; L176: } L177: }; L178: } L179:}...
    github.com/google/guava/guava-tests/test/com/go...
    Mon Apr 17 15:49:06 UTC 2023
      5K bytes
  2. ForwardingMultiset.java

    remove(@CheckForNull Object element, int occurrences) { L75: return delegate().remove(element, occurrences); L76: } L77: L78: @Override L79: public Set<E> elementSet() { L80: return delegate().elementSet(); L81: } L82: L83: @Override L84: public Set<Entry<E>> entrySet() { L85: return delegate().entrySet(); L86: } L87: L88: @Override L89: public boolean equals(@CheckForNull Object object) { L90: return object == this || delegate().equals(object); L91: } L92: L93: @Override L94: public...
    github.com/google/guava/guava/src/com/google/co...
    Fri May 12 15:26:39 UTC 2023
      10.4K bytes
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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/guava-tests/test/com/go...
    Sat Oct 19 00:05:46 UTC 2024
      11.8K bytes
  8. ForwardingSortedSetTest.java

    wrap(set1), wrap(set1)) L167: .addEqualityGroup(set2, wrap(set2)) L168: .testEquals(); L169: } L170: L171: private static <T> SortedSet<T> wrap(final SortedSet<T> delegate) { L172: return new ForwardingSortedSet<T>() { L173: @Override L174: protected SortedSet<T> delegate() { L175: return delegate; L176: } L177: }; L178: } L179:}...
    github.com/google/guava/guava-tests/test/com/go...
    Sat Oct 19 00:05:46 UTC 2024
      5K bytes
  9. ForwardingSortedSetMultimap.java

    subclasses. */ L44: protected ForwardingSortedSetMultimap() {} L45: L46: @Override L47: protected abstract SortedSetMultimap<K, V> delegate(); L48: L49: @Override L50: public SortedSet<V> get(@ParametricNullness K key) { L51: return delegate().get(key); L52: } L53: L54: @Override L55: public SortedSet<V> removeAll(@CheckForNull Object key) { L56: return delegate().removeAll(key); L57: } L58: L59: @Override L60: public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends...
    github.com/google/guava/guava/src/com/google/co...
    Tue Jun 15 21:08:00 UTC 2021
      2.3K bytes
  10. 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
Back to top