Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for getAge (0.08 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. src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java

            /**
             * @return Object
             */
            public Object isDdd() {
                return null;
            }
    
            /**
             * @return String
             */
            public String getEee() {
                return null;
            }
    
            /**
             * @param eee
             *            eee
             */
            public void setEee(final String eee) {
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
      private static void assertGoodTesterAnnotation(Class<? extends Annotation> annotationClass) {
        assertNotNull(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Set implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public class SetTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<SetTestSuiteBuilder<E>, E> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Set;
    
    /**
     * Thrown when requirements on a tester method or class conflict with each other.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public class ConflictingRequirementsException extends Exception {
      private final Set<Feature<?>> conflicts;
      private final Object source;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Set;
    
    /**
     * Thrown when requirements on a tester method or class conflict with each other.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public class ConflictingRequirementsException extends Exception {
      private final Set<Feature<?>> conflicts;
      private final Object source;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
      private static void assertGoodTesterAnnotation(Class<? extends Annotation> annotationClass) {
        assertNotNull(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.lang.reflect.Method;
    import org.junit.Ignore;
    
    /**
     * Tests {@link java.util.List#hashCode}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import java.util.Collection;
    import org.junit.Ignore;
    
    /**
     * Tests {@link java.util.Set#hashCode}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top