Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,213 for extends (0.26 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        abstract class Retailer<ProductT> extends Shop<ProductT>
            implements Comparator<ProductT>, ConsumerFacing<ProductT> {}
      }
    
      private static class Outlet<T> extends Mall<T> {}
    
      private interface UseIterable<T extends Iterable<?>> {}
    
      private interface UseSerializableIterable<T extends Serializable & Iterable<?>> {}
    
      private interface UseList<T extends List<?>> {}
    
      private enum MyEnum {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TableCollectors.java

      }
    
      static <
              T extends @Nullable Object,
              R extends @Nullable Object,
              C extends @Nullable Object,
              V,
              I extends Table<R, C, V>>
          Collector<T, ?, I> toTable(
              java.util.function.Function<? super T, ? extends R> rowFunction,
              java.util.function.Function<? super T, ? extends C> columnFunction,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/CollectorTester.java

    public final class CollectorTester<
        T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> {
      /**
       * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code
       * Collector} will be compared to the expected value using {@link Object#equals}.
       */
      public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          return this;
        }
    
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(Map<? extends K, ? extends V> map) {
          return putAll(map.entrySet());
        }
    
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(Iterable<? extends Entry<? extends K, ? extends V>> entries) {
          for (Entry<? extends K, ? extends V> entry : entries) {
            put(entry);
          }
          return this;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CollectCollectors.java

            });
      }
    
      static <
              T extends @Nullable Object,
              K extends @Nullable Object,
              V extends @Nullable Object,
              M extends Multimap<K, V>>
          Collector<T, ?, M> flatteningToMultimap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends Stream<? extends V>> valueFunction,
              Supplier<M> multimapSupplier) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        public <A extends B, B extends @Nullable Object> void b(A a) {
          fail(
              "Method with parameter <A extends B> where <B extends @Nullable Object> should not be"
                  + " called");
        }
      }
    
      public void testNullBounds() {
        // NullBounds has methods whose parameters are type variables that have
        // "extends @Nullable Object" as a bound. This test ensures that NullPointerTester considers
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

     */
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableBiMap<K, V> extends ForwardingImmutableMap<K, V>
        implements BiMap<K, V> {
      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // ? extends Number
        assertAssignable(new TypeToken<List<N1>>() {}, new TypeToken<List<? extends Number>>() {});
        assertAssignable(new TypeToken<ArrayList<N1>>() {}, new TypeToken<List<? extends Number>>() {});
        assertAssignable(
            new TypeToken<List<? extends N11>>() {}, new TypeToken<List<? extends Number>>() {});
      }
    
      public <N1 extends Number, N2 extends Number, N11 extends N1>
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

    interface IThenable<T extends @Nullable Object> {
      <V extends @Nullable Object> IThenable<V> then(
          @JsOptional @Nullable IThenOnFulfilledCallbackFn<? super T, ? extends V> onFulfilled,
          @JsOptional @Nullable IThenOnRejectedCallbackFn<? extends V> onRejected);
    
      @JsFunction
      interface IThenOnFulfilledCallbackFn<T extends @Nullable Object, V extends @Nullable Object> {
        V onInvoke(T p0);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 24 18:27:19 GMT 2023
    - 3.9K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/Iterables.java

       */
      @GwtIncompatible // Array.newInstance(Class, int)
      public static <T extends @Nullable Object> T[] toArray(
          Iterable<? extends T> iterable, Class<@NonNull T> type) {
        return toArray(iterable, ObjectArrays.newArray(type, 0));
      }
    
      static <T extends @Nullable Object> T[] toArray(Iterable<? extends T> iterable, T[] array) {
        Collection<? extends T> collection = castOrCopyToCollection(iterable);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
Back to top