Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for interfaces (0.14 sec)

  1. android/guava/src/com/google/common/reflect/Types.java

       *
       * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
       * interface, whose return type {@code AnnotatedType[]} is also new in Java 8. That means that we
       * cannot implement that interface in source code in a way that will compile on both Java 7 and
       * Java 8. If we include the {@code getAnnotatedBounds()} method then its return type means it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableCollection.java

     *       these guarantees to be violated).
     * </ul>
     *
     * <h4>"Interfaces", not implementations</h4>
     *
     * <p>These are classes instead of interfaces to prevent external subtyping, but should be thought
     * of as interfaces in every important sense. Each public class such as {@link ImmutableSet} is a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       these guarantees to be violated).
     * </ul>
     *
     * <h4>"Interfaces", not implementations</h4>
     *
     * <p>These are classes instead of interfaces to prevent external subtyping, but should be thought
     * of as interfaces in every important sense. Each public class such as {@link ImmutableSet} is a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(GenericDeclaration.class, Object.class)
              .put(Type.class, Object.class)
              .build();
    
      /**
       * type → implementation. Inherently mutable interfaces and abstract classes are mapped to their
       * default implementations and are "new"d upon get().
       */
      private static final ConcurrentMap<Class<?>, Class<?>> implementations = Maps.newConcurrentMap();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(GenericDeclaration.class, Object.class)
              .put(Type.class, Object.class)
              .build();
    
      /**
       * type → implementation. Inherently mutable interfaces and abstract classes are mapped to their
       * default implementations and are "new"d upon get().
       */
      private static final ConcurrentMap<Class<?>, Class<?>> implementations = Maps.newConcurrentMap();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        }
    
        @Override
        public String toString() {
          return paramString(interfaceType, identity);
        }
      }
    
      /** Subclasses can override to provide different return value for proxied interface methods. */
      @CheckForNull
      Object interfaceMethodCalled(Class<?> interfaceType, Method method) {
        throw new UnsupportedOperationException();
      }
    
      private <T> T pickInstance(T[] instances, T defaultValue) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

     * @since 21.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
      public interface Ordered {
        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
         */
        void inOrder();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

        @SuppressWarnings("unchecked") // implementation is "fully variant"
        SupplierFunction<T> sf = (SupplierFunction<T>) SupplierFunctionImpl.INSTANCE;
        return sf;
      }
    
      private interface SupplierFunction<T extends @Nullable Object> extends Function<Supplier<T>, T> {}
    
      private enum SupplierFunctionImpl implements SupplierFunction<@Nullable Object> {
        INSTANCE;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      private static List<Object> subListCopy(Object[] source, int size) {
        final Object[] copy = new Object[size];
        System.arraycopy(source, 0, copy, 0, size);
        return Arrays.asList(copy);
      }
    
      private interface IteratorOperation {
        @Nullable Object execute(Iterator<?> iterator);
      }
    
      /**
       * Apply this method to both iterators and return normally only if both produce the same response.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeMultiset.java

        implements Serializable {
    
      /**
       * Creates a new, empty multiset, sorted according to the elements' natural order. All elements
       * inserted into the multiset must implement the {@code Comparable} interface. Furthermore, all
       * such elements must be <i>mutually comparable</i>: {@code e1.compareTo(e2)} must not throw a
       * {@code ClassCastException} for any elements {@code e1} and {@code e2} in the multiset. If the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
Back to top