Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,201 for implement (0.23 sec)

  1. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

    public final class JdkFutureAdapters {
      /**
       * Assigns a thread to the given {@link Future} to provide {@link ListenableFuture} functionality.
       *
       * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the
       * returned future will emulate {@link ListenableFuture#addListener} by taking a thread from an
       * internal, unbounded pool at the first call to {@code addListener} and holding it until the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteProcessor.java

     *
     * <p>{@link #processBytes} will be called for each chunk of data that is read, and should return
     * {@code false} when you want to stop processing.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @DoNotMock("Implement it normally")
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface ByteProcessor<T extends @Nullable Object> {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
      protected abstract List<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingList.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p>This class does not implement {@link java.util.RandomAccess}. If the delegate supports random
     * access, the {@code ForwardingList} subclass should implement the {@code RandomAccess} interface.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingList} forward <b>indiscriminately</b> to the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Reflection.java

            throw new AssertionError(e);
          }
        }
      }
    
      /**
       * 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}.
       *
    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)
  6. 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)
  7. okhttp/src/test/resources/okhttp3/internal/idn/README.md

    IDN Data
    ========
    
    In order to implement Nameprep (RFC 3491), OkHttp uses Unicode tables specified in Stringprep
    (RFC 3454). Fragments of this RFC are dumped into the files in this directory and parsed by
    `StringprepTablesReader` into a model that can be used at runtime.
    
    This format is chosen to make it easy to validate that these tables are consistent with the RFC.
    
    ```
    cd okhttp/src/test/resources/okhttp3/internal/idn/
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 618 bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.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 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. architecture/standards/0002-avoid-using-java-serialization.md

    ## Date
    
    2012-12-01
    
    ## Context
    
    In Gradle we often need to serialize in-memory objects for caching, or to transmit them across process barriers, etc.
    Java serialization is one way to implement this, however, despite its simplicity of implementation, it has several drawbacks:
    
    - **Performance:**
    Java's built-in serialization mechanism is often slower compared to other serialization solutions.
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Feb 29 22:32:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java

            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
    
        public FileEntry[] getEntries () {
            /*
             * The ShareInfo1 class does not implement the FileEntry
             * interface (because it is generated from IDL). Therefore
             * we must create an array of objects that do.
             */
            srvsvc.ShareInfoCtr1 ctr = (srvsvc.ShareInfoCtr1) this.info;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
Back to top