Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 4,082 for Class (0.11 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(TimeoutException.class, e -> e instanceof TimeoutException)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      override fun getSendBufferSize(): Int = delegate!!.sendBufferSize
    
      @Throws(SocketException::class)
      override fun getSoTimeout(): Int = delegate!!.soTimeout
    
      @Throws(SocketException::class)
      override fun getTcpNoDelay(): Boolean = delegate!!.tcpNoDelay
    
      @Throws(SocketException::class)
      override fun setKeepAlive(keepAlive: Boolean) {
        delegate!!.keepAlive = keepAlive
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

      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 {
        assertGoodFeatureEnum(CollectionFeature.class);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

            OldBase returnTypeOverridenMethod() { return null }
        }
    
        static class OldSub extends OldBase {
            OldSub returnTypeOverridenMethod() { return null }
        }
    
        static class NewSuperInternal {}
    
        static class NewBase extends NewSuperInternal {}
    
        static class NewSub extends NewBase {}
    
        Map classes = [:]
    
        def setup() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java

            java.lang.reflect.Field field = TestBean.class.getDeclaredField("directField");
    
            // First access
            helper.setProperty(bean1, "directField", String.class, config);
            boolean accessibilityAfterFirst = field.canAccess(bean1);
    
            // Second access with different bean
            config.setValue("value2");
            helper.setProperty(bean2, "directField", String.class, config);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java

        Call call = client.newCall(request);
    
        assertEquals(5, call.tag(Integer.class));
        assertEquals("hello", call.tag(String.class));
        assertEquals(null, call.tag(Boolean.class));
        assertEquals(null, call.tag(Object.class));
      }
    
      @Test
      public void tagsCanBeComputed() {
        Request request = new Request.Builder()
          .url(HttpUrl.get("https://square.com/"))
          .build();
        Call call = client.newCall(request);
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Oct 26 14:54:46 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

    import org.codehaus.plexus.util.xml.Xpp3Dom;
    
    /**
     * <strong>Warning:</strong> This is an internal class that is only public for technical reasons, it is not part of the
     * public API. In particular, this class can be changed or deleted without prior notice.
     *
     */
    @Named
    @Singleton
    public class DefaultBeanConfigurator implements BeanConfigurator {
    
        private final ConverterLookup converterLookup;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        testers.add(CollectionSerializationEqualTester.class);
        testers.add(SetAddAllTester.class);
        testers.add(SetAddTester.class);
        testers.add(SetCreationTester.class);
        testers.add(SetHashCodeTester.class);
        testers.add(SetEqualsTester.class);
        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. docs/en/docs/how-to/custom-request-and-route.md

    And an `APIRoute` subclass to use that custom request class.
    
    ### Create a custom `GzipRequest` class { #create-a-custom-gziprequest-class }
    
    /// tip
    
    This is a toy example to demonstrate how it works, if you need Gzip support, you can use the provided [`GzipMiddleware`](../advanced/middleware.md#gzipmiddleware){.internal-link target=_blank}.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public final class ListGenerators {
    
      private ListGenerators() {}
    
      public static class ImmutableListOfGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          return ImmutableList.copyOf(elements);
        }
      }
    
      public static class BuilderAddListGenerator extends TestStringListGenerator {
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top