Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 73 for clazz (0.03 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         */
        static <T> Key<T> key(Class<T> clazz) {
            return new Key<>(clazz, clazz);
        }
    
        /**
         * Create a key using the given class and id.
         */
        static <T> Key<T> key(Class<T> clazz, Object id) {
            return new Key<>(clazz, id);
        }
    
        /**
         * Key used to query the session data
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

       */
      private Multimap<Class<?>, Subscriber> findAllSubscribers(Object listener) {
        Multimap<Class<?>, Subscriber> methodsInListener = HashMultimap.create();
        Class<?> clazz = listener.getClass();
        for (Method method : getAnnotatedMethods(clazz)) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          Class<?> eventType = parameterTypes[0];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

     */
    class JclLoggerAdapter implements LoggerAdapter {
    
        protected final String sourceClass;
    
        protected final Log logger;
    
        public JclLoggerAdapter(final Class<?> clazz) {
            sourceClass = clazz.getName();
            logger = LogFactory.getLog(clazz);
        }
    
        @Override
        public boolean isFatalEnabled() {
            return logger.isFatalEnabled();
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

      }
    
      private fun registerStandardClass(
        access: Feature.BeforeAnalysisAccess,
        name: String,
      ) {
        val clazz: Class<*> = access.findClassByName(name) ?: throw IllegalStateException("Missing class $name")
        RuntimeReflection.register(clazz)
        clazz.declaredConstructors.forEach {
          RuntimeReflection.register(it)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/log/JulLoggerAdapter.java

        protected final String sourceClass;
    
        protected final java.util.logging.Logger logger;
    
        public JulLoggerAdapter(final Class<?> clazz) {
            sourceClass = clazz.getName();
            logger = java.util.logging.Logger.getLogger(clazz.getName());
        }
    
        @Override
        public boolean isFatalEnabled() {
            return logger.isLoggable(Level.SEVERE);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Platform.java

    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
      private Platform() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

        }
    
        private void shutdownCommonsHttpClient() { // from Tomcat7ConfigServlet (old class)
            try {
                final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager");
                final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
                method.invoke(null, (Object[]) null);
            } catch (final ClassNotFoundException e) {
                // ignore
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

          // Force Finalizer to load from this class loader, not its parent.
          if (name.equals(Finalizer.class.getName())) {
            Class<?> clazz = findClass(name);
            if (resolve) {
              resolveClass(clazz);
            }
            return clazz;
          }
    
          return super.loadClass(name, resolve);
        }
      }
    
      public void testGetFinalizerUrl() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/log/JulLoggerAdapterFactory.java

     *
     * @author koichik
     */
    class JulLoggerAdapterFactory implements LoggerAdapterFactory {
    
        @Override
        public LoggerAdapter getLoggerAdapter(final Class<?> clazz) {
            return new JulLoggerAdapter(clazz);
        }
    
        @Override
        public void releaseAll() {
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/ChecksumHashFunction.java

          } else {
            return false;
          }
        }
    
        private static @Nullable MethodHandle updateByteBuffer() {
          try {
            Class<?> clazz = Class.forName("java.util.zip.Checksum");
            return MethodHandles.lookup()
                .findVirtual(clazz, "update", MethodType.methodType(void.class, ByteBuffer.class));
          } catch (ClassNotFoundException e) {
            throw new AssertionError(e);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top