Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 8,709 for KClass (0.04 seconds)

  1. guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d);
        assertThat(Defaults.defaultValue(void.class)).isNull();
        assertThat(Defaults.defaultValue(String.class)).isNull();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

                .put(Integer.class, 0)
                .put(int.class, 1)
                .build();
        assertEquals(2, map.size());
    
        assertEquals(0, (int) map.getInstance(Integer.class));
        assertEquals(0, (int) map.getInstance(TypeToken.of(Integer.class)));
        assertEquals(1, (int) map.getInstance(int.class));
        assertEquals(1, (int) map.getInstance(TypeToken.of(int.class)));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/beans/ParameterizedClassDesc.java

        /**
         * Returns <code>true</code> if the class represented by this instance is parameterized.
         *
         * @return <code>true</code> if the class represented by this instance is parameterized
         */
        boolean isParameterizedClass();
    
        /**
         * Returns the raw class.
         *
         * @param <T>
         *            the type of the raw class
         * @return the raw class
         * @see ParameterizedType#getRawType()
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/exception/BeanFieldSetAccessibleFailureException.java

    import java.lang.reflect.Field;
    
    /**
     * Signals that a field could not be made accessible.
     */
    public class BeanFieldSetAccessibleFailureException extends ClRuntimeException {
        private static final long serialVersionUID = 1L;
    
        /**
         * The target class.
         */
        protected final Class<?> targetClass;
    
        /**
         * The target field.
         */
        protected final transient Field targetField;
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/exception/BeanMethodSetAccessibleFailureException.java

    import java.lang.reflect.Method;
    
    /**
     * Signals that a method could not be made accessible.
     */
    public class BeanMethodSetAccessibleFailureException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The target class.
         */
        protected final Class<?> targetClass;
    
        /**
         * The target method.
         */
        protected final transient Method targetMethod;
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/exception/PropertyNotFoundRuntimeException.java

    /**
     * Exception thrown when a property cannot be found.
     *
     * @author higa
     *
     */
    public class PropertyNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -5177019197796206774L;
    
        /**
         * The target class.
         */
        private final Class<?> targetClass;
    
        /**
         * The name of the property.
         */
        private final String propertyName;
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

        return this;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = new ArrayList<>();
        if (runCollectionTests) {
          testers.addAll(super.getTesters());
        }
    
        testers.add(QueueElementTester.class);
        testers.add(QueueOfferTester.class);
        testers.add(QueuePeekTester.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

     *             versions will allow to do this safely.
     */
    @Deprecated
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
        private static final Logger log = LoggerFactory.getLogger(NtlmHttpURLConnection.class);
        private static final int MAX_REDIRECTS = Integer.getInteger("http.maxRedirects", 20);
    
        private HttpURLConnection connection;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

        /**
         * Builds a SocketAdapter from an observed implementation class, by grabbing the Class
         * reference to perform reflection on at runtime.
         *
         * @param actualSSLSocketClass the runtime class of Conscrypt class socket.
         */
        private fun build(actualSSLSocketClass: Class<in SSLSocket>): AndroidSocketAdapter {
          var possibleClass: Class<in SSLSocket>? = actualSSLSocketClass
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertThat(ClassPath.getClassName("abc/d/Abc.class")).isEqualTo("abc.d.Abc");
      }
    
      public void testResourceInfo_of() {
        assertThat(resourceInfo(ClassPathTest.class)).isInstanceOf(ClassInfo.class);
        assertThat(resourceInfo(ClassPath.class)).isInstanceOf(ClassInfo.class);
        assertThat(resourceInfo(Nested.class)).isInstanceOf(ClassInfo.class);
      }
    
      public void testGetSimpleName() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 23.1K bytes
    - Click Count (0)
Back to Top