Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 85 for clazz (0.01 sec)

  1. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * Finds the default converter corresponding to the class.
         *
         * @param clazz
         *            The class
         * @return The converter
         */
        protected Converter findDefaultConverter(final Class<?> clazz) {
            if (clazz == java.sql.Date.class) {
                return DEFAULT_DATE_CONVERTER;
            }
            if (clazz == Time.class) {
                return DEFAULT_TIME_CONVERTER;
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

      }
    
      @SuppressWarnings("unchecked")
      private static Class<? extends Annotation> asAnnotation(Class<?> clazz) {
        if (clazz.isAnnotation()) {
          return (Class<? extends Annotation>) clazz;
        } else {
          throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz));
        }
      }
    
      public void testFeatureEnums() throws Exception {
        assertGoodFeatureEnum(CollectionFeature.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

      }
    
      @SuppressWarnings("unchecked")
      private static Class<? extends Annotation> asAnnotation(Class<?> clazz) {
        if (clazz.isAnnotation()) {
          return (Class<? extends Annotation>) clazz;
        } else {
          throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz));
        }
      }
    
      public void testFeatureEnums() throws Exception {
        assertGoodFeatureEnum(CollectionFeature.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Predicates.java

          implements Predicate<T>, Serializable {
        private final Class<?> clazz;
    
        private InstanceOfPredicate(Class<?> clazz) {
          this.clazz = checkNotNull(clazz);
        }
    
        @Override
        public boolean apply(@ParametricNullness T o) {
          return clazz.isInstance(o);
        }
    
        @Override
        public int hashCode() {
          return clazz.hashCode();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

         *
         * @param clazz
         *            the Bean class. Must not be {@literal null}
         * @return {@link BeanDesc}
         */
        public static BeanDesc getBeanDesc(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
            if (!initialized) {
                initialize();
            }
            BeanDesc beanDesc = beanDescCache.get(clazz);
            if (beanDesc == null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            Class<?> clazz = target.getClass();
            while (clazz != null) {
                try {
                    Field f = clazz.getDeclaredField(fieldName);
                    f.setAccessible(true);
                    return f.get(target);
                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java

            String actionSuffix = "Action";
    
            // ## Act ##
            policeStoryOfJavaClassChase((srcFile, clazz) -> {
                if (clazz.isInterface() || Modifier.isAbstract(clazz.getModifiers())) { // e.g. BaseAction
                    return;
                }
                final String className = clazz.getName();
                if (className.contains(appWebPkg) && className.endsWith(actionSuffix)) {
                    // ## Assert ##
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      static void assertSeedlessHashFunctionEquals(Class<?> clazz) throws Exception {
        for (Method method : clazz.getDeclaredMethods()) {
          if (shouldHaveKnownHashes(method)) {
            HashFunction hashFunction1a = (HashFunction) method.invoke(clazz);
            HashFunction hashFunction1b = (HashFunction) method.invoke(clazz);
    
            new EqualsTester().addEqualityGroup(hashFunction1a, hashFunction1b).testEquals();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

        }
    
        private Field findField(Class<?> clazz, String fieldName) {
            while (clazz != null) {
                try {
                    return clazz.getDeclaredField(fieldName);
                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            return null;
        }
    
        private Method findMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/GenericsUtil.java

            assertArgumentNotNull("type", type);
            assertArgumentNotNull("clazz", clazz);
    
            if (type instanceof Class) {
                return clazz.isAssignableFrom((Class<?>) type);
            }
            if (type instanceof ParameterizedType) {
                final ParameterizedType parameterizedType = ParameterizedType.class.cast(type);
                return isTypeOf(parameterizedType.getRawType(), clazz);
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top