Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 6,976 for klass (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

    /**
     * Unit tests for {@link MathPreconditions}.
     *
     * @author Ben Yu
     */
    @GwtCompatible
    @NullUnmarked
    public class MathPreconditionsTest extends TestCase {
    
      public void testCheckPositive_zeroInt() {
        assertThrows(IllegalArgumentException.class, () -> MathPreconditions.checkPositive("int", 0));
      }
    
      public void testCheckPositive_maxInt() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        void testExtendsDecodable() {
            Class<?>[] interfaces = SecurityInfo.class.getInterfaces();
            assertTrue(Arrays.asList(interfaces).contains(jcifs.Decodable.class), "SecurityInfo should extend Decodable interface");
        }
    
        @Test
        @DisplayName("Test all constant fields count")
        void testConstantFieldsCount() {
            Field[] fields = SecurityInfo.class.getDeclaredFields();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/Types.java

            return rawType.getEnclosingClass();
          }
        },
        LOCAL_CLASS_HAS_NO_OWNER {
          @Override
          @Nullable Class<?> getOwnerType(Class<?> rawType) {
            if (rawType.isLocalClass()) {
              return null;
            } else {
              return rawType.getEnclosingClass();
            }
          }
        };
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  4. tests/test_dependency_class.py

            ("/callable-dependency-class", "callable-dependency-class"),
            ("/callable-gen-dependency-class", "callable-gen-dependency-class"),
            ("/async-callable-dependency-class", "async-callable-dependency-class"),
            ("/async-callable-gen-dependency-class", "async-callable-gen-dependency-class"),
        ],
    )
    def test_class_dependency(route, value):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. architecture/standards/0006-use-of-provider-apis-in-gradle.md

        Property<String> getSomeProperty()
    }
    class Example {
        @Nested
        NestedType getNestedProperty()
    }
    ```
    Otherwise, if the nested type requires an implementation class, you'll need to manage the lifecycle of it:
    ```
    interface NestedType {
        Property<String> getSomeProperty()
        void notManaged()
    }
    abstract class DefaultNestedType implements NestedType {
        ...
    }
    
    class Example {
        private final NestedType nested
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/testing/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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/net/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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/math/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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Oct 26 14:54:46 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top