Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for isPrivate (0.19 sec)

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

        assertTrue(delegate.isPrivate());
        assertFalse(delegate.isOverridable());
        assertFalse(delegate.isVarArgs());
      }
    
      public void testPrivateFinalInstanceMethod_isOverridable() throws Exception {
        Invokable<?, ?> delegate = Prepender.method("privateFinalMethod");
        assertTrue(delegate.isPrivate());
        assertTrue(delegate.isFinal());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Invokable.java

      }
    
      /** Returns true if the element is package-private. */
      public final boolean isPackagePrivate() {
        return !isPrivate() && !isPublic() && !isProtected();
      }
    
      /** Returns true if the element is private. */
      public final boolean isPrivate() {
        return Modifier.isPrivate(getModifiers());
      }
    
      /** Returns true if the element is static. */
      public final boolean isStatic() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(delegate.isPrivate());
        assertFalse(delegate.isOverridable());
        assertFalse(delegate.isVarArgs());
      }
    
      public void testPrivateFinalInstanceMethod_isOverridable() throws Exception {
        Invokable<?, ?> delegate = Prepender.method("privateFinalMethod");
        assertTrue(delegate.isPrivate());
        assertTrue(delegate.isFinal());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

              if (response.header("Expires") == null &&
                response.cacheControl.maxAgeSeconds == -1 &&
                !response.cacheControl.isPublic &&
                !response.cacheControl.isPrivate
              ) {
                return false
              }
            }
    
            else -> {
              // All other codes cannot be cached.
              return false
            }
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

       * for non-shared caches, As in Firefox and Chrome, this directive is not honored by this cache.
       */
      @get:JvmName("sMaxAgeSeconds") val sMaxAgeSeconds: Int,
      val isPrivate: Boolean,
      val isPublic: Boolean,
      @get:JvmName("mustRevalidate") val mustRevalidate: Boolean,
      @get:JvmName("maxStaleSeconds") val maxStaleSeconds: Int,
      @get:JvmName("minFreshSeconds") val minFreshSeconds: Int,
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<Invokable<?, ? extends T>> factories = Lists.newArrayList();
        for (Method method : type.getRawType().getDeclaredMethods()) {
          Invokable<?, ?> invokable = type.method(method);
          if (!invokable.isPrivate()
              && !invokable.isSynthetic()
              && invokable.isStatic()
              && type.isSupertypeOf(invokable.getReturnType())) {
            @SuppressWarnings("unchecked") // guarded by isAssignableFrom()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<Invokable<?, ? extends T>> factories = Lists.newArrayList();
        for (Method method : type.getRawType().getDeclaredMethods()) {
          Invokable<?, ?> invokable = type.method(method);
          if (!invokable.isPrivate()
              && !invokable.isSynthetic()
              && invokable.isStatic()
              && type.isSupertypeOf(invokable.getReturnType())) {
            @SuppressWarnings("unchecked") // guarded by isAssignableFrom()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. api/go1.18.txt

    pkg net/netip, method (Addr) IsLinkLocalUnicast() bool
    pkg net/netip, method (Addr) IsLoopback() bool
    pkg net/netip, method (Addr) IsMulticast() bool
    pkg net/netip, method (Addr) IsPrivate() bool
    pkg net/netip, method (Addr) IsUnspecified() bool
    pkg net/netip, method (Addr) IsValid() bool
    pkg net/netip, method (Addr) Less(Addr) bool
    pkg net/netip, method (Addr) MarshalBinary() ([]uint8, error)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      /** Visibility of any method or constructor. */
      public enum Visibility {
        PACKAGE {
          @Override
          boolean isVisible(int modifiers) {
            return !Modifier.isPrivate(modifiers);
          }
        },
    
        PROTECTED {
          @Override
          boolean isVisible(int modifiers) {
            return Modifier.isPublic(modifiers) || Modifier.isProtected(modifiers);
          }
        },
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  10. api/go1.17.txt

    pkg net, method (*ParseError) Temporary() bool
    pkg net, method (*ParseError) Timeout() bool
    pkg net, method (IP) IsPrivate() bool
    pkg net/http, func AllowQuerySemicolons(Handler) Handler
    pkg net/url, method (Values) Has(string) bool
    pkg reflect, func VisibleFields(Type) []StructField
    pkg reflect, method (Method) IsExported() bool
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Viewed (0)
Back to top