Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 73 for clazz (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        Set<MethodSignature> methods = newHashSet();
        for (Class<?> clazz : getClassesBetween(descendant, ancestor)) {
          methods.addAll(getPublicStaticMethods(clazz));
        }
        return methods;
      }
    
      private static Set<MethodSignature> getPublicStaticMethods(Class<?> clazz) {
        Set<MethodSignature> publicStaticMethods = newHashSet();
    
        for (Method method : clazz.getDeclaredMethods()) {
          int modifiers = method.getModifiers();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        Set<MethodSignature> methods = newHashSet();
        for (Class<?> clazz : getClassesBetween(descendant, ancestor)) {
          methods.addAll(getPublicStaticMethods(clazz));
        }
        return methods;
      }
    
      private static Set<MethodSignature> getPublicStaticMethods(Class<?> clazz) {
        Set<MethodSignature> publicStaticMethods = newHashSet();
    
        for (Method method : clazz.getDeclaredMethods()) {
          int modifiers = method.getModifiers();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                return bean;
            }
            return null;
        }
    
        protected <T> List<T> getList(final Class<T> clazz, final String sessionId, final QueryBuilder queryBuilder, final Integer from,
                final Integer size, final SortBuilder<?>... sortBuilders) {
            return getList(clazz, builder -> {
                if (StringUtil.isNotBlank(sessionId)) {
                    if (queryBuilder instanceof BoolQueryBuilder) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Enums.java

       *
       * @since 12.0
       */
      @GwtIncompatible // reflection
      public static Field getField(Enum<?> enumValue) {
        Class<?>
            clazz = enumValue.getDeclaringClass();
        try {
          return clazz.getDeclaredField(enumValue.name());
        } catch (NoSuchFieldException impossible) {
          throw new AssertionError(impossible);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. 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());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

            assertQueryBuilder("content", "아아", MatchPhraseQueryBuilder.class);
        }
    
        private void assertQueryBuilder(String field, String value, Class<?> clazz) {
            QueryBuilder queryBuilder = queryCommand.buildMatchPhraseQuery(field, value);
            assertEquals(clazz, queryBuilder.getClass());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

            }
        }
    
        private static ClassMap getClassMap(Class<?> clazz) {
            Reference<ClassMap> ref = CLASS_MAPS.get(clazz);
            ClassMap classMap = ref != null ? ref.get() : null;
    
            if (classMap == null) {
                classMap = new ClassMap(clazz);
    
                CLASS_MAPS.put(clazz, new WeakReference<>(classMap));
            }
    
            return classMap;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ComponentUtil.java

        public static <T> T getComponent(final Class<T> clazz) {
            try {
                return SingletonLaContainer.getComponent(clazz);
            } catch (final NullPointerException e) {
                if (logger.isDebugEnabled()) {
                    throw new ContainerNotAvailableException(clazz.getCanonicalName(), e);
                }
                throw new ContainerNotAvailableException(clazz.getCanonicalName());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          Class<E> clazz) {
        Map<E, LockGraphNode> existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.get(clazz);
        if (existing != null) {
          return existing;
        }
        Map<E, LockGraphNode> created = createNodes(clazz);
        existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.putIfAbsent(clazz, created);
        return MoreObjects.firstNonNull(existing, created);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/HttpHeadersTest.java

      }
    
      // Visible for other tests to use
      static void assertConstantNameMatchesString(
          Class<?> clazz,
          ImmutableBiMap<String, String> specialCases,
          ImmutableSet<String> uppercaseAcronyms)
          throws IllegalAccessException {
        for (Field field : relevantFields(clazz)) {
          assertEquals(
              upperToHttpHeaderName(field.getName(), specialCases, uppercaseAcronyms), field.get(null));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top