Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 7,590 for CLASS (0.04 sec)

  1. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

    /**
     * {@link BeanDesc}の実装クラスです。
     *
     * @author higa
     */
    public class BeanDescImpl implements BeanDesc {
    
        /** 空のオブジェクト配列 */
        protected static final Object[] EMPTY_ARGS = new Object[0];
    
        /** 空のクラス配列 */
        protected static final Class<?>[] EMPTY_PARAM_TYPES = new Class<?>[0];
    
        /** Beanのクラス */
        protected final Class<?> beanClass;
    
        /** 型引数と型変数のマップ */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

                }
              }
            };
    
        // The first time, the sneakily-thrown exception comes out
        assertThrows(SomeCheckedException.class, iter::hasNext);
        // But the second time, AbstractIterator itself throws an ISE
        assertThrows(IllegalStateException.class, iter::hasNext);
      }
    
      public void testException() {
        final SomeUncheckedException exception = new SomeUncheckedException();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

    /**
     * {@link ConstructorDesc}の実装クラスです。
     *
     * @author koichik
     */
    public class ConstructorDescImpl implements ConstructorDesc {
    
        /** このメソッドを所有するクラスの{@link BeanDesc} */
        protected final BeanDesc beanDesc;
    
        /** コンストラクタ */
        protected final Constructor<?> constructor;
    
        /** コンストラクタの引数型の配列 */
        protected final Class<?>[] parameterTypes;
    
        /** パラメータ化された引数型の情報 */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

    /**
     * @author Max Ross
     */
    public class FeatureSpecificTestSuiteBuilderTest extends TestCase {
      private static final class MyTestSuiteBuilder
          extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> {
        @SuppressWarnings("rawtypes") // class literals
        @Override
        protected List<Class<? extends AbstractTester>> getTesters() {
          return Collections.<Class<? extends AbstractTester>>singletonList(MyTester.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

     */
    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
        Iterable<String> iterable = MinimalIterable.<String>of();
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, () -> iterator.next());
        assertThrows(IllegalStateException.class, () -> iterable.iterator());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        private static final Logger logger = Logger.getLogger(FileFactory.class.getName());
    
        private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>();
    
        protected File createFile() throws IOException {
          File file = File.createTempFile("SinkSourceFile", "txt");
          fileThreadLocal.set(file);
          return file;
        }
    
        protected File getFile() {
          return fileThreadLocal.get();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/IntMathTest.java

          assertThrows(IllegalArgumentException.class, () -> IntMath.gcd(a, 3));
          assertThrows(IllegalArgumentException.class, () -> IntMath.gcd(3, a));
        }
      }
    
      public void testGCDNegativeZeroThrows() {
        for (int a : NEGATIVE_INTEGER_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> IntMath.gcd(a, 0));
          assertThrows(IllegalArgumentException.class, () -> IntMath.gcd(0, a));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. docs_src/body_multiple_params/tutorial004_an_py310.py

    from typing import Annotated
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 643 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    
      @VisibleForTesting
      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
        private final Runtime runtime;
    
        Exiter(Runtime runtime) {
          this.runtime = runtime;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

     *
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionCreationTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNull_supported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top