Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 206 for Complement (0.19 sec)

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

      /**
       * Returns a proxy instance that implements {@code interfaceType} by dispatching method
       * invocations to {@code handler}. The class loader of {@code interfaceType} will be used to
       * define the proxy class. To implement multiple interfaces or specify a class loader, use {@link
       * Proxy#newProxyInstance}.
       *
       * @throws IllegalArgumentException if {@code interfaceType} does not specify the type of a Java
       *     interface
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

                })
            .then(onFulfilled, onRejected);
      }
    }
    
    /**
     * Subset of the elemental2 IThenable interface without the single-parameter overload, which allows
     * us to implement it using a default implementation in J2cl ListenableFuture.
     */
    @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "IThenable")
    interface IThenable<T extends @Nullable Object> {
    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)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

        // Changes after are not
        list.set(0, 5);
    
        assertEquals(ImmutableList.of(3, 4), first);
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
      @GwtIncompatible // Arrays.asList(...).subList doesn't implement RandomAccess in GWT
      public void testPartitionRandomAccessInput() {
        Iterable<Integer> source = asList(1, 2, 3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          int i = 0;
          for (Object e : elements) {
            array[i++] = (Character) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
        protected abstract List<Character> create(Character[] elements);
    
        @Override
        public Character[] createArray(int length) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

          int i = 0;
          for (Object e : elements) {
            array[i++] = (Double) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
        protected abstract List<Double> create(Double[] elements);
    
        @Override
        public Double[] createArray(int length) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * thought of as overkill; however, it's difficult to determine which proper subset of this massive
     * set would be sufficient to expose any possible bug. Brute force is simpler.
     *
     * <p>To use this class the concrete subclass must implement the {@link
     * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
     * without changing its state, so the tester needs a steady supply of fresh Iterators.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          int i = 0;
          for (Object e : elements) {
            array[i++] = (Character) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
        protected abstract List<Character> create(Character[] elements);
    
        @Override
        public Character[] createArray(int length) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HostSpecifier.java

        try {
          return fromValid(specifier);
        } catch (IllegalArgumentException e) {
          // Since the IAE can originate at several different points inside
          // fromValid(), we implement this method in terms of that one rather
          // than the reverse.
    
          ParseException parseException = new ParseException("Invalid host specifier: " + specifier, 0);
          parseException.initCause(e);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

                immutableCell("three", "tres", 3),
                immutableCell("two", "dos", 4));
      }
    
      // This function specifically returns a BiPredicate, because Guava7’s Equivalence class does not
      // actually implement BiPredicate, and CollectorTests expects a BiPredicate.
      static <C, E extends @Nullable Object, R extends Iterable<E>>
          BiPredicate<C, C> pairwiseOnResultOf(Function<C, R> arg) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/TempFileCreator.java

    @J2ObjCIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class TempFileCreator {
      static final TempFileCreator INSTANCE = pickSecureCreator();
    
      /**
       * @throws IllegalStateException if the directory could not be created (to implement the contract
       *     of {@link Files#createTempDir()}, such as if the system does not support creating temporary
       *     directories securely
       */
      abstract File createTempDir();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
Back to top