Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 3,991 for extends (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingListenableFuture<V extends @Nullable Object>
        extends ForwardingFuture<V> implements ListenableFuture<V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingListenableFuture() {}
    
      @Override
      protected abstract ListenableFuture<? extends V> delegate();
    
      @Override
      public void addListener(Runnable listener, Executor exec) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 04 12:23:41 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Queues.java

      @J2ktIncompatible
      @GwtIncompatible // PriorityBlockingQueue
      public static <E extends Comparable> PriorityBlockingQueue<E> newPriorityBlockingQueue(
          Iterable<? extends E> elements) {
        if (elements instanceof Collection) {
          return new PriorityBlockingQueue<>((Collection<? extends E>) elements);
        }
        PriorityBlockingQueue<E> queue = new PriorityBlockingQueue<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

    public abstract class AbstractImmutableSetTest extends TestCase {
    
      protected abstract <E extends Comparable<? super E>> Set<E> of();
    
      protected abstract <E extends Comparable<? super E>> Set<E> of(E e);
    
      protected abstract <E extends Comparable<? super E>> Set<E> of(E e1, E e2);
    
      protected abstract <E extends Comparable<? super E>> Set<E> of(E e1, E e2, E e3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        multiset.add("a");
        assertThrows(UnsupportedOperationException.class, () -> multiset.remove("a"));
        assertTrue(multiset.contains("a"));
      }
    
      private static class NoRemoveMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
          implements Serializable {
        final Map<E, Integer> backingMap = Maps.newHashMap();
    
        @Override
        public int size() {
          return Multisets.linearTimeSizeImpl(this);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Streams.java

       */
      public interface FunctionWithIndex<T extends @Nullable Object, R extends @Nullable Object> {
        /** Applies this function to the given argument and its index within a stream. */
        @ParametricNullness
        R apply(@ParametricNullness T from, long index);
      }
    
      private abstract static class MapWithIndexSpliterator<
              F extends Spliterator<?>,
              R extends @Nullable Object,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

    @ElementTypesAreNonnullByDefault
    public abstract class AbstractListeningExecutorService extends AbstractExecutorService
        implements ListeningExecutorService {
    
      /**
       * @since 19.0 (present with return type {@code ListenableFutureTask} since 14.0)
       */
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      protected final <T extends @Nullable Object> RunnableFuture<T> newTaskFor(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

    @ElementTypesAreNonnullByDefault
    public abstract class AbstractListeningExecutorService extends AbstractExecutorService
        implements ListeningExecutorService {
    
      /**
       * @since 19.0 (present with return type {@code ListenableFutureTask} since 14.0)
       */
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      protected final <T extends @Nullable Object> RunnableFuture<T> newTaskFor(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/NullsFirstOrdering.java

    /** An ordering that treats {@code null} as less than all other values. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class NullsFirstOrdering<T extends @Nullable Object> extends Ordering<@Nullable T>
        implements Serializable {
      final Ordering<? super T> ordering;
    
      NullsFirstOrdering(Ordering<? super T> ordering) {
        this.ordering = ordering;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

         * @since 19.0
         */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(Iterable<? extends Entry<? extends K, ? extends V>> entries) {
          if (entries instanceof Collection) {
            ensureCapacity(size + ((Collection<?>) entries).size());
          }
          for (Entry<? extends K, ? extends V> entry : entries) {
            put(entry);
          }
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractMultimapTester<
            K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
        extends AbstractContainerTester<M, Entry<K, V>> {
    
      private M multimap;
    
      protected M multimap() {
        return multimap;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top