Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1451 - 1460 of 3,422 for _extends (0.09 seconds)

  1. android/guava/src/com/google/common/base/FinalizablePhantomReference.java

     * <p>Unlike a normal phantom reference, this reference will be cleared automatically.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class FinalizablePhantomReference<T> extends PhantomReference<T>
        implements FinalizableReference {
      /**
       * Constructs a new finalizable phantom reference.
       *
       * @param referent to phantom reference
       * @param queue that should finalize the referent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/DefaultsTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Defaults}.
     *
     * @author Jige Yu
     */
    @J2ktIncompatible
    @GwtIncompatible
    @NullUnmarked
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
        assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class AbstractSetTester<E> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named set that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/SpecialRandom.java

     * benchmark parameter.
     *
     * <p>TODO: Remove this class once Caliper has a better way.
     *
     * @author Nicholaus Shupe
     */
    @NullUnmarked
    public final class SpecialRandom extends Random {
      public static SpecialRandom valueOf(String s) {
        return s.isEmpty() ? new SpecialRandom() : new SpecialRandom(parseLong(s));
      }
    
      private final boolean hasSeed;
      private final long seed;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link TypeParameter}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class TypeParameterTest extends TestCase {
    
      public <T> void testCaptureTypeParameter() throws Exception {
        TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable;
        TypeVariable<?> expected =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ClosingFuture} leaks. */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ClosingFutureLeakTest extends TestCase {
      public void testLeak() {
        TestCloseable closeable = new TestCloseable("closeable");
        awaitClear(leakClosingFuture(closeable));
        assertThat(closeable.awaitClosed()).isTrue();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/exception/ConverterRuntimeException.java

    import org.codelibs.core.beans.Converter;
    
    /**
     * Exception thrown when an error occurs in a {@link Converter}.
     *
     * @author higa
     */
    public class ConverterRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The name of the property.
         */
        private final String propertyName;
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/exception/FieldNotStaticRuntimeException.java

    import java.lang.reflect.Field;
    
    /**
     * Exception thrown when accessing a non-{@literal static} {@link Field} without specifying an object.
     *
     * @author koichik
     */
    public class FieldNotStaticRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -7791347225750660981L;
    
        /**
         * The target class.
         */
        private final Class<?> targetClass;
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/exception/MethodNotStaticRuntimeException.java

    import java.lang.reflect.Method;
    
    /**
     * Exception thrown when accessing a non-{@literal static} {@link Method} without specifying an object.
     *
     * @author koichik
     */
    public class MethodNotStaticRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 7186052234464152208L;
    
        /**
         * The target class.
         */
        private final Class<?> targetClass;
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/exception/NoSuchFieldRuntimeException.java

    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception that wraps {@link NoSuchFieldException}.
     *
     * @author higa
     */
    public class NoSuchFieldRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 6609175673610180338L;
    
        /**
         * The target class.
         */
        private final Class<?> targetClass;
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top