- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 681 for delete (0.04 sec)
-
ForwardingBlockingQueue.java
protected ForwardingBlockingQueue() {} L48: L49: @Override L50: protected abstract BlockingQueue<E> delegate(); L51: L52: @CanIgnoreReturnValue L53: @Override L54: public int drainTo(Collection<? super E> c, int maxElements) { L55: return delegate().drainTo(c, maxElements); L56: } L57: L58: @CanIgnoreReturnValue L59: @Override L60: public int drainTo(Collection<? super E> c) { L61: return delegate().drainTo(c); L62: } L63: L64: @CanIgnoreReturnValue // TODO(kak): consider removing this L65:...github.com/google/guava/android/guava/src/com/g...Tue Apr 04 09:45:04 UTC 2023 3K bytes -
ForwardingNavigableSet.java
implements NavigableSet<E> { L56: L57: /** Constructor for use by subclasses. */ L58: protected ForwardingNavigableSet() {} L59: L60: @Override L61: protected abstract NavigableSet<E> delegate(); L62: L63: @Override L64: @CheckForNull L65: public E lower(@ParametricNullness E e) { L66: return delegate().lower(e); L67: } L68: L69: /** L70: * A sensible definition of {@link #lower} in terms of the {@code descendingIterator} method of L71: * {@link #headSet(Object, boolean)}. If you...github.com/google/guava/android/guava/src/com/g...Fri May 12 15:26:39 UTC 2023 9K bytes -
ImmutableEnumSet.java
ForwardingImmutableSet<E> { L29: static <E> ImmutableSet<E> asImmutable(Set<E> delegate) { L30: switch (delegate.size()) { L31: case 0: L32: return ImmutableSet.of(); L33: case 1: L34: return ImmutableSet.of(Iterables.getOnlyElement(delegate)); L35: default: L36: return new ImmutableEnumSet<E>(delegate); L37: } L38: } L39: L40: public ImmutableEnumSet(Set<E> delegate) { L41: super(delegate); L42: } L43:}...github.com/google/guava/guava-gwt/src-super/com...Tue Jan 23 18:43:40 UTC 2024 1.3K bytes -
ForwardingSortedMultiset.java
ForwardingMultiset<E> implements SortedMultiset<E> { L50: /** Constructor for use by subclasses. */ L51: protected ForwardingSortedMultiset() {} L52: L53: @Override L54: protected abstract SortedMultiset<E> delegate(); L55: L56: @Override L57: public NavigableSet<E> elementSet() { L58: return delegate().elementSet(); L59: } L60: L61: /** L62: * A sensible implementation of {@link SortedMultiset#elementSet} in terms of the following L63: * methods: {@link SortedMultiset#clear}, {@link SortedM...github.com/google/guava/android/guava/src/com/g...Fri May 12 15:26:39 UTC 2023 8.7K bytes -
AbstractFuture.java
Runnable { L392: final ListenableFuture<? extends V> delegate; L393: L394: SetFuture(ListenableFuture<? extends V> delegate) { L395: this.delegate = delegate; L396: } L397: L398: @Override L399: public void run() { L400: if (isCancelled()) { L401: return; L402: } L403: L404: if (delegate instanceof AbstractFuture) { L405: AbstractFuture<? extends V> other = (AbstractFuture<? extends V>) delegate; L406: value = other.value; L407: throwable...github.com/google/guava/guava-gwt/src-super/com...Mon Jan 22 19:37:41 UTC 2024 12.3K bytes -
ForwardingSortedMultiset.java
public StandardElementSet() { L68: super(ForwardingSortedMultiset.this); L69: } L70: } L71: L72: @Override L73: public Comparator<? super E> comparator() { L74: return delegate().comparator(); L75: } L76: L77: @Override L78: public SortedMultiset<E> descendingMultiset() { L79: return delegate().descendingMultiset(); L80: } L81: L82: /** L83: * A skeleton implementation of a descending multiset view. Normally, {@link L84: * #descendingMultiset()} will not reflect any changes...github.com/google/guava/guava-gwt/src-super/com...Tue Jan 23 18:43:40 UTC 2024 8.2K bytes -
MutableTypeToInstanceMap.java
Iterator<Entry<K, V>> entries) { L162: return Iterators.transform(entries, UnmodifiableEntry::new); L163: } L164: L165: private UnmodifiableEntry(Entry<K, V> delegate) { L166: this.delegate = checkNotNull(delegate); L167: } L168: L169: @Override L170: protected Entry<K, V> delegate() { L171: return delegate; L172: } L173: L174: @Override L175: @ParametricNullness L176: public V setValue(@ParametricNullness V value) { L177: throw new UnsupportedOperationException();...github.com/google/guava/guava/src/com/google/co...Fri Jun 14 17:55:55 UTC 2024 5.8K bytes -
ForwardingMultimapTest.java
wrap(map1), wrap(map1)) L49: .addEqualityGroup(map2, wrap(map2)) L50: .testEquals(); L51: } L52: L53: private static <K, V> Multimap<K, V> wrap(final Multimap<K, V> delegate) { L54: return new ForwardingMultimap<K, V>() { L55: @Override L56: protected Multimap<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.8K bytes -
NavigableSetTestSuiteBuilder.java
} L68: L69: public static final class NavigableSetSubsetTestSetGenerator<E> L70: extends SortedSetSubsetTestSetGenerator<E> { L71: public NavigableSetSubsetTestSetGenerator( L72: TestSortedSetGenerator<E> delegate, Bound to, Bound from) { L73: super(delegate, to, from); L74: } L75: L76: @Override L77: NavigableSet<E> createSubSet(SortedSet<E> sortedSet, E firstExclusive, E lastExclusive) { L78: NavigableSet<E> set = (NavigableSet<E>) sortedSet; L79: if (from...github.com/google/guava/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 6.2K bytes -
JdkBackedImmutableSet.java
L30:@GwtCompatible(serializable = true) L31:@ElementTypesAreNonnullByDefault L32:final class JdkBackedImmutableSet<E> extends IndexedImmutableSet<E> { L33: private final Set<?> delegate; L34: private final ImmutableList<E> delegateList; L35: L36: JdkBackedImmutableSet(Set<?> delegate, ImmutableList<E> delegateList) { L37: this.delegate = delegate; L38: this.delegateList = delegateList; L39: } L40: L41: @Override L42: E get(int index) { L43: return delegateList.get(index); L44: } L45: L46: @Override...github.com/google/guava/guava/src/com/google/co...Thu Nov 30 21:54:06 UTC 2023 2K bytes