Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for getAge (0.04 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. 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)
  3. 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)
  4. 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. 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)
  6. 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)
  7. guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.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 List
     * implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class ListTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<ListTestSuiteBuilder<E>, E> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. android/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)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

     * @param <G> the type of the test generator required by this tester. An 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
     */
    @GwtCompatible
    @NullMarked
    public class AbstractTester<G> extends TestCase {
      private G subjectGenerator;
      private String suiteName;
      private @Nullable Runnable setUp;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

    import java.util.Collection;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Test {@link Multimap#asMap()} for an arbitrary multimap with {@link MapInterfaceTest}.
     *
     * @author George van den Driessche
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class AbstractMultimapAsMapImplementsMapTest
        extends MapInterfaceTest<String, Collection<Integer>> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 14:47:20 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top