Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 7,721 for class2 (0.06 sec)

  1. guava/src/com/google/common/reflect/Types.java

      }
    
      private static void disallowPrimitiveType(Type[] types, String usedAs) {
        for (Type type : types) {
          if (type instanceof Class) {
            Class<?> cls = (Class<?>) type;
            checkArgument(!cls.isPrimitive(), "Primitive type '%s' used as %s", cls, usedAs);
          }
        }
      }
    
      /** Returns the {@code Class} object of arrays with {@code componentType}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. tests/test_jsonable_encoder.py

    from .utils import needs_pydanticv1, needs_pydanticv2
    
    
    class Person:
        def __init__(self, name: str):
            self.name = name
    
    
    class Pet:
        def __init__(self, owner: Person, name: str):
            self.owner = owner
            self.name = name
    
    
    @dataclass
    class Item:
        name: str
        count: int
    
    
    class DictablePerson(Person):
        def __iter__(self):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        testers.add(ListListIteratorTester.class);
        testers.add(ListRemoveAllTester.class);
        testers.add(ListRemoveAtIndexTester.class);
        testers.add(ListRemoveTester.class);
        testers.add(ListReplaceAllTester.class);
        testers.add(ListRetainAllTester.class);
        testers.add(ListSetTester.class);
        testers.add(ListSubListTester.class);
        testers.add(ListToArrayTester.class);
        return testers;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertThrows(IllegalArgumentException.class, () -> MediaType.parse(""));
      }
    
      public void testParse_badInput() {
        assertThrows(IllegalArgumentException.class, () -> MediaType.parse("/"));
        assertThrows(IllegalArgumentException.class, () -> MediaType.parse("text"));
        assertThrows(IllegalArgumentException.class, () -> MediaType.parse("text/"));
        assertThrows(IllegalArgumentException.class, () -> MediaType.parse("te<t/plain"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

     * @author Chris Povirk
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Sets {
      private Sets() {}
    
      /**
       * {@link AbstractSet} substitute without the potentially-quadratic {@code removeAll}
       * implementation.
       */
      abstract static class ImprovedAbstractSet<E extends @Nullable Object> extends AbstractSet<E> {
        @Override
        public boolean removeAll(Collection<?> c) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            final EsUrlFilterService urlFilterService = ComponentUtil.getComponent(EsUrlFilterService.class);
            final EsUrlQueueService urlQueueService = ComponentUtil.getComponent(EsUrlQueueService.class);
            final EsDataService dataService = ComponentUtil.getComponent(EsDataService.class);
    
            try {
                // clear url filter
                urlFilterService.delete(sid);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    import jakarta.annotation.Resource;
    
    public class StandardCrawlerContainer implements CrawlerContainer {
    
        private final Logger logger = LoggerFactory.getLogger(StandardCrawlerContainer.class);
    
        private final Map<String, ComponentHolder<?>> singletonMap = new ConcurrentHashMap<>();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

        LinkedHashMap<String, String>().apply {
          val packageName = OkHttpClient::class.java.`package`?.name
    
          if (packageName != null) {
            this[packageName] = "OkHttp"
          }
    
          this[OkHttpClient::class.java.name] = "okhttp.OkHttpClient"
          this[Http2::class.java.name] = "okhttp.Http2"
          this[TaskRunner::class.java.name] = "okhttp.TaskRunner"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

      public void testNotInterfaceType() {
        assertThrows(
            IllegalArgumentException.class,
            () ->
                new ForwardingWrapperTester()
                    .testForwarding(String.class, Functions.<String>identity()));
      }
    
      public void testNulls() {
        new NullPointerTester()
            .setDefault(Class.class, Runnable.class)
            .testAllPublicInstanceMethods(new ForwardingWrapperTester());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top