Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 4,145 for extend (0.13 sec)

  1. guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java

        // used under GWT, etc., since the override of this method does not exist there
        ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
          return ImmutableMap.of();
        }
      }
    
      private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF =
          ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

       *
       * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
       * {@code <E extends Comparable<? super E>>}, to support classes defined without generics.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create(Iterable<? extends E> elements) {
        TreeMultiset<E> multiset = create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

            throw new DfsReferral(dr);
        }
    
    
        <T extends CommonServerMessageBlockResponse> T send ( CommonServerMessageBlockRequest request, T response ) throws SmbException {
            return send(request, response, Collections.<RequestParam> emptySet());
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

       * any of the public methods of ListenableFuture.
       */
      interface Trusted<V extends @Nullable Object> extends ListenableFuture<V> {}
    
      abstract static class TrustedFuture<V extends @Nullable Object> extends AbstractFuture<V>
          implements Trusted<V> {
        @CanIgnoreReturnValue
        @Override
        public final V get() throws InterruptedException, ExecutionException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 19:37:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top