Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 73 for clazz (0.04 sec)

  1. android/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)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

        private <T> T getFieldValue(final Object field, final Class<T> clazz) {
            if (field == null) {
                return null;
            }
            if (clazz.equals(Integer.class)) {
                final Number value = (Number) field;
                return (T) Integer.valueOf(value.intValue());
            }
            if (clazz.equals(Long.class)) {
                final Number value = (Number) field;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

         */
        public static void registerDriver(final String driverClassName) {
            assertArgumentNotEmpty("driverClassName", driverClassName);
    
            final Class<Driver> clazz = ClassUtil.forName(driverClassName);
            registerDriver(clazz);
        }
    
        /**
         * JDBCドライバを登録します。
         *
         * @param driverClass
         *            登録するJDBCドライバのクラス。{@literal null}であってはいけません
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. android/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. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                        final Class<?> clazz = writeMethod.getDeclaringClass();
                        final Class<?> valueClass = convertedValue == null ? null : convertedValue.getClass();
                        final Class<?> targetClass = target == null ? null : target.getClass();
                        throw new ClIllegalArgumentException("target", "ECL0098",
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Serialization.java

            values.add(value);
          }
        }
      }
    
      // Secret sauce for setting final fields; don't make it public.
      static <T> FieldSetter<T> getFieldSetter(Class<T> clazz, String fieldName) {
        try {
          Field field = clazz.getDeclaredField(fieldName);
          return new FieldSetter<>(field);
        } catch (NoSuchFieldException e) {
          throw new AssertionError(e); // programmer error
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MultimapBuilder.java

          implements Supplier<Set<V>>, Serializable {
        private final Class<V> clazz;
    
        EnumSetSupplier(Class<V> clazz) {
          this.clazz = checkNotNull(clazz);
        }
    
        @Override
        public Set<V> get() {
          return EnumSet.noneOf(clazz);
        }
      }
    
      /**
       * An intermediate stage in a {@link MultimapBuilder} in which the key-value collection map
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/log/LoggerAdapterFactory.java

     */
    package org.codelibs.core.log;
    
    /**
     * ロガーアダプタを生成するファクトリです。
     *
     * @author koichik
     */
    interface LoggerAdapterFactory {
    
        LoggerAdapter getLoggerAdapter(Class<?> clazz);
    
        void releaseAll();
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 860 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

                    return null;
                }
            }
    
        }
    
        private static Field getAccessibleField(final Class<?> clazz, final String name) {
            return AccessController.doPrivileged((PrivilegedAction<Field>) () -> {
                try {
                    final Field field = clazz.getDeclaredField(name);
                    field.setAccessible(true);
                    return field;
                } catch (final Exception e) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

          introspector.visit(contextType);
          return ImmutableMap.copyOf(introspector.mappings);
        }
    
        @Override
        void visitClass(Class<?> clazz) {
          visit(clazz.getGenericSuperclass());
          visit(clazz.getGenericInterfaces());
        }
    
        @Override
        void visitParameterizedType(ParameterizedType parameterizedType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
Back to top