Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getAge (0.03 sec)

  1. src/main/java/jcifs/util/ResourceManager.java

                this.closed = false;
            }
    
            boolean isAlive() {
                return resourceRef.get() != null && !closed;
            }
    
            long getAge() {
                return System.currentTimeMillis() - creationTime;
            }
        }
    
        private ResourceManager() {
            ThreadFactory threadFactory = r -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("ggg");
            propDesc.setValue(myBean, Integer.valueOf(1));
            assertThat(myBean.getGgg(), is(new BigDecimal(1)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSetTimestampValue() throws Exception {
            final MyBean myBean = new MyBean();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          .eventListener(eventListener)
          .build()
    
      @BeforeEach
      fun setUp() {
        server.protocols = bootstrapClient.protocols
        dns = buildLocalhost(bootstrapClient, false)
      }
    
      @Test
      fun getOne() {
        server.enqueue(
          dnsResponse(
            "0000818000010003000000000567726170680866616365626f6f6b03636f6d0000010001c00c000500010" +
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

     *     instance of G should somehow provide an instance of the class under test, plus any other
     *     information required to parameterize the test.
     * @author George van den Driessche
     */
    @GwtIncompatible
    public abstract class FeatureSpecificTestSuiteBuilder<
        B extends FeatureSpecificTestSuiteBuilder<B, G>, G> {
      @SuppressWarnings("unchecked")
      protected B self() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.reflect.Method;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * @author George van den Driessche
     */
    public class FeatureUtilTest extends TestCase {
      enum ExampleFeature implements Feature<Object> {
        FOO,
        IMPLIES_FOO,
        IMPLIES_IMPLIES_FOO,
        BAR,
        IMPLIES_BAR,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors.
     *
     * @author George van den Driessche
     */
    @AndroidIncompatible // test-suite builders
    public final class MapTestSuiteBuilderTests extends TestCase {
      private MapTestSuiteBuilderTests() {}
    
      public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Map implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public class MapTestSuiteBuilder<K, V>
        extends PerCollectionSizeTestSuiteBuilder<
            MapTestSuiteBuilder<K, V>, TestMapGenerator<K, V>, Map<K, V>, Entry<K, V>> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    import java.util.Map;
    import java.util.Queue;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Utilities for collecting and validating tester requirements from annotations.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class FeatureUtil {
      /** A cache of annotated objects (typically a Class or Method) to its set of annotations. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            /**
             * @return Object
             */
            public Object isDdd() {
                return null;
            }
    
            /**
             * @return String
             */
            public String getEee() {
                return eee;
            }
    
            /**
             * @param eee
             */
            public void setEee(final String eee) {
                this.eee = eee;
            }
    
            /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    import java.util.Map;
    import java.util.Queue;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Utilities for collecting and validating tester requirements from annotations.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class FeatureUtil {
      /** A cache of annotated objects (typically a Class or Method) to its set of annotations. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top