Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,863 for isInterface (0.07 seconds)

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

       * return an array that contains {@code Iterable<T>}, where the {@code T} is the type variable
       * declared by interface {@code Iterable}.
       *
       * <p>If this type is a type variable or wildcard, its upper bounds are examined and those that
       * are either an interface or upper-bounded only by interfaces are returned. This means that the
       * returned types could include type variables too.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          @SuppressWarnings("unchecked") // returns default for both F and T
          T defaultConverter = (T) defaultConverter(convertFromType, convertToType);
          return defaultConverter;
        }
        if (type.getRawType().isInterface()) {
          return newDefaultReturningProxy(type);
        }
        return null;
      }
    
      private <F, T> Converter<F, T> defaultConverter(
          TypeToken<F> convertFromType, TypeToken<T> convertToType) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          @SuppressWarnings("unchecked") // returns default for both F and T
          T defaultConverter = (T) defaultConverter(convertFromType, convertToType);
          return defaultConverter;
        }
        if (type.getRawType().isInterface()) {
          return newDefaultReturningProxy(type);
        }
        return null;
      }
    
      private <F, T> Converter<F, T> defaultConverter(
          TypeToken<F> convertFromType, TypeToken<T> convertToType) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

            // Assert
            assertTrue(clazz.isInterface(), "Should be an interface");
            assertTrue(Modifier.isPublic(clazz.getModifiers()), "Interface should be public");
            assertEquals("jcifs.smb", clazz.getPackageName(), "Package must match source");
            assertEquals("SessionSetupHandler", clazz.getSimpleName(), "Simple name must match source");
        }
    
        @Test
        @DisplayName("Interface declares no methods or fields")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

        }
    
        @Test
        @DisplayName("Interface structure is as expected")
        void interfaceStructure() {
            Class<?> c = SpnegoConstants.class;
            assertTrue(c.isInterface(), "SpnegoConstants must be an interface");
            assertEquals(4, c.getDeclaredFields().length, "Unexpected number of fields");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java

            // ## Arrange ##
            String appWebPkg = ".app.web.";
            String actionSuffix = "Action";
    
            // ## Act ##
            policeStoryOfJavaClassChase((srcFile, clazz) -> {
                if (clazz.isInterface() || Modifier.isAbstract(clazz.getModifiers())) { // e.g. BaseAction
                    return;
                }
                final String className = clazz.getName();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/https/HandlerTest.java

                // Then
                assertTrue(Modifier.isPublic(modifiers));
                assertFalse(Modifier.isAbstract(modifiers));
                assertFalse(Modifier.isInterface(modifiers));
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/https/HandlerTest.java

                // Then
                assertTrue(Modifier.isPublic(modifiers));
                assertFalse(Modifier.isAbstract(modifiers));
                assertFalse(Modifier.isInterface(modifiers));
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        // Reflection-based API checks ensure the interface contract is as expected
        @Test
        @DisplayName("Type hierarchy and method signatures are correct")
        void typeAndSignatures() throws Exception {
            Class<?> clazz = SmbResourceLocatorInternal.class;
    
            // Assert it's an interface and extends the right superinterface
            assertTrue(clazz.isInterface(), "Should be an interface");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/reflect/Reflection.java

       *
       * @throws IllegalArgumentException if {@code interfaceType} does not specify the type of a Java
       *     interface
       */
      public static <T> T newProxy(Class<T> interfaceType, InvocationHandler handler) {
        checkNotNull(handler);
        checkArgument(interfaceType.isInterface(), "%s is not an interface", interfaceType);
        Object object =
            Proxy.newProxyInstance(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.4K bytes
    - Click Count (0)
Back to Top