Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 7,594 for isclass (0.08 sec)

  1. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          assertThrows(NullPointerException.class, () -> keys.toArray((Object[]) null));
          checkEmpty(cache);
        }
      }
    
      public void testKeySet_addNotSupported() {
        for (LoadingCache<Object, Object> cache : caches()) {
          assertThrows(UnsupportedOperationException.class, () -> cache.asMap().keySet().add(1));
    
          assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/JoinerTest.java

        checkResult(J, ITERABLE_123, "1-2-3");
    
        assertThrows(NullPointerException.class, () -> J.join(ITERABLE_NULL));
        assertThrows(NullPointerException.class, () -> J.join(ITERABLE_1_NULL_2));
    
        assertThrows(NullPointerException.class, () -> J.join(ITERABLE_NULL.iterator()));
        assertThrows(NullPointerException.class, () -> J.join(ITERABLE_1_NULL_2.iterator()));
      }
    
      public void testOnCharOverride() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

      private final ImmutableList<Subscriber> integerSubscribers =
          ImmutableList.of(
              subscriber(bus, i1, "handleInteger", Integer.class),
              subscriber(bus, i2, "handleInteger", Integer.class),
              subscriber(bus, i3, "handleInteger", Integer.class));
    
      private final StringSubscriber s1 = new StringSubscriber("s1");
      private final StringSubscriber s2 = new StringSubscriber("s2");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<String> iterable = asList("foo", "bar");
        assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterable, "x"));
      }
    
      @GwtIncompatible // Iterables.toArray(Iterable, Class)
      public void testToArrayEmpty() {
        Iterable<String> iterable = emptyList();
        String[] array = Iterables.toArray(iterable, String.class);
        assertTrue(Arrays.equals(new String[0], array));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithInnerTypes.groovy

    import org.gradle.test.sub2.GroovyInterface
    
    class GroovyClassWithInnerTypes implements GroovyInterface {
        /**
         * This is an inner enum.
         */
        enum InnerEnum {}
    
        /**
         * This is an inner class.
         */
        static class InnerClass {
            InnerEnum enumProp
    
            /**
             * This is an inner inner class.
             */
            class AnotherInner {
                InnerClass outer
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 609 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/ParameterizedClassDescImpl.java

    import org.codelibs.core.beans.ParameterizedClassDesc;
    
    /**
     * {@link ParameterizedClassDesc}の実装クラスです。
     *
     * @author koichik
     */
    public class ParameterizedClassDescImpl implements ParameterizedClassDesc {
    
        /** 原型となるクラス */
        protected Class<?> rawClass;
    
        /** 型引数を表す{@link ParameterizedClassDesc}の配列 */
        protected ParameterizedClassDesc[] arguments;
    
        /**
         * インスタンスを構築します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        override fun getAstVisitorClass(): Class<*> = IntegrationTestFixtureVisitor::class.java
    }
    
    
    class IntegrationTestFixtureVisitor : AbstractAstVisitor() {
    
        /**
         * Determines if the class is an integration test. It's a bit weak, but we cannot
         * rely on the class node analysis since it doesn't give the right superclass because
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(0));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(-1));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(0, 1, SECONDS));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(-1, 1, SECONDS));
      }
    
      public void testSimpleWithWait() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeResolver.java

          return ImmutableMap.copyOf(introspector.mappings);
        }
    
        @Override
        void visitClass(Class<?> clazz) {
          visit(clazz.getGenericSuperclass());
          visit(clazz.getGenericInterfaces());
        }
    
        @Override
        void visitParameterizedType(ParameterizedType parameterizedType) {
          Class<?> rawClass = (Class<?>) parameterizedType.getRawType();
          TypeVariable<?>[] vars = rawClass.getTypeParameters();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(0));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(-1));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(0, 1, SECONDS));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(-1, 1, SECONDS));
      }
    
      public void testSimpleWithWait() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top