Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 33 for clazz (0.05 seconds)

  1. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  2. 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 {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
  4. android/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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/log/Logger.java

         *
         * @param clazz
         *            Class to be used as the logger category. Must not be {@literal null}.
         * @return {@link Logger}
         */
        public static synchronized Logger getLogger(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
            if (!initialized) {
                initialize();
            }
            Logger logger = loggers.get(clazz);
            if (logger == null) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  6. 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 {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/FessActionDefTest.java

                public void handle(File srcFile, Class<?> clazz) {
                    final String webPackageKeyword = getWebPackageKeyword();
                    if (!clazz.getName().contains(webPackageKeyword) ||
                    // exclude app.web.api.admin packages
                            clazz.getName().contains(".app.web.api.admin.")) {
                        return;
                    }
                    check(srcFile, clazz, webPackageKeyword);
                }
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

                } catch (ClassNotFoundException e) {
                    return null;
                }
            }
    
            @Override
            public Class<?> toCompleteClass(Class<?> clazz) {
                return clazz;
            }
    
            @Override
            public String fromSuffixToPackageName(String suffix) {
                return "org.codelibs.fess";
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  9. 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 ##
    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)
  10. android/guava/src/com/google/common/base/MoreObjects.java

       * #toStringHelper(Object)}, but using the simple name of {@code clazz} instead of using an
       * instance's {@link Object#getClass()}.
       *
       * <p>Note that in GWT, class names are often obfuscated.
       *
       * @param clazz the {@link Class} of the instance
       * @since 18.0 (since 7.0 as {@code Objects.toStringHelper}).
       */
      public static ToStringHelper toStringHelper(Class<?> clazz) {
        return new ToStringHelper(clazz.getSimpleName());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.2K bytes
    - Click Count (0)
Back to Top