Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 581 for isInterface (0.07 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
        return ArbitraryInstances.get(rawType);
      }
    
      private <T> T newProxy(Class<T> interfaceType) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        @SuppressWarnings("unchecked") // ArbitraryInstances always returns generics-safe dummies.
        T value = (T) ArbitraryInstances.get(rawType);
        if (value != null) {
          return value;
        }
        if (rawType.isInterface()) {
          return new SerializableDummyProxy(this).newProxy(type);
        }
        return null;
      }
    
      private static <T> T createInstance(Invokable<?, ? extends T> factory, List<?> args)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InetAddresses.java

          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
          } catch (SocketException | UnknownHostException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
          } catch (SocketException | UnknownHostException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

    class Promise<T extends @Nullable Object> implements IThenable<T> {
    
      @JsFunction
      interface PromiseExecutorCallbackFn<T extends @Nullable Object> {
        @JsFunction
        interface ResolveCallbackFn<T extends @Nullable Object> {
          void onInvoke(T value);
        }
    
        @JsFunction
        interface RejectCallbackFn {
          void onInvoke(Object error);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

        }
    
        /**
         * Returns the appropriate HTML response for login handling.
         * If a user is already authenticated, redirects to the appropriate admin interface.
         * Otherwise, displays the login page.
         *
         * @return HTML response for login page or redirect to admin interface
         */
        protected HtmlResponse getHtmlResponse() {
            return getUserBean().map(this::redirectByUser).orElse(asHtml(virtualHost(path_Login_IndexJsp)));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt

     * Implementations of this interface should respond to [Call.cancel] by immediately throwing an
     * [IOException].
     *
     * Most callers won't need this interface, and should use [Response.trailers] instead.
     *
     * This interface is for test and production code that creates [Response] instances without making
     * an HTTP call to a remote server.
     */
    interface TrailersSource {
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Generates a dummy interface proxy that simply returns a dummy value for each method.
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlist/DeleteForm.java

    /**
     * Form class for deleting documents from search results in the admin interface.
     * Contains query and document ID fields for targeted document deletion.
     */
    public class DeleteForm {
    
        /**
         * Creates a new instance of DeleteForm.
         * This constructor initializes the form for deleting documents from search results
         * in the admin interface with validation rules for query and document identification.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/ParameterizedClassDesc.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans;
    
    import java.lang.reflect.ParameterizedType;
    
    /**
     * Interface for handling parameterized classes.
     *
     * @author koichik
     */
    public interface ParameterizedClassDesc {
    
        /**
         * Returns <code>true</code> if the class represented by this instance is parameterized.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top