Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2721 - 2730 of 3,468 for Final (0.02 sec)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * period or an interrupt while waiting for the expected event will result in a {@link
     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * {@snippet :
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

            .expectCollects(ImmutableSet.of("a", "b", "c", "d"), "a", "b", "a", "c", "b", "b", "d");
      }
    
      public void testToImmutableSet_duplicates() {
        class TypeWithDuplicates {
          final int a;
          final int b;
    
          TypeWithDuplicates(int a, int b) {
            this.a = a;
            this.b = b;
          }
    
          @Override
          public int hashCode() {
            return a;
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertFalse(result);
        }
    
        /**
         * Test thread safety of enum
         */
        public void test_threadSafety() throws Exception {
            final int threadCount = 100;
            final int iterationsPerThread = 1000;
            final Set<Exception> exceptions = new HashSet<>();
    
            Thread[] threads = new Thread[threadCount];
            for (int i = 0; i < threadCount; i++) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsDataConfig.java

        //                                                                          Definition
        //                                                                          ==========
        private static final long serialVersionUID = 1L;
        protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class;
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsScheduledJob.java

        //                                                                          Definition
        //                                                                          ==========
        private static final long serialVersionUID = 1L;
        protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class;
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/MethodDesc.java

         *
         * @return {@literal true} if the method is {@literal static}
         */
        boolean isStatic();
    
        /**
         * Returns {@literal true} if the method is {@literal final}.
         *
         * @return {@literal true} if the method is {@literal final}
         */
        boolean isFinal();
    
        /**
         * Returns {@literal true} if the method is {@literal abstract}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultWagonManager implements WagonManager {
    
        private static final String[] CHECKSUM_IDS = {"md5", "sha1"};
    
        /**
         * have to match the CHECKSUM_IDS
         */
        private static final String[] CHECKSUM_ALGORITHMS = {"MD5", "SHA-1"};
    
        @Inject
        private Logger logger;
    
        @Inject
        private PlexusContainer container;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            jobExecutor.shutdown();
            assertEquals(3, shutdownCount.get());
        }
    
        public void test_shutdownListener_interface() {
            // Test anonymous ShutdownListener implementation
            final AtomicBoolean flag = new AtomicBoolean(false);
            ShutdownListener listener = new ShutdownListener() {
                @Override
                public void onShutdown() {
                    flag.set(true);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

      private interface One {}
    
      private interface Two {}
    
      private interface Three {}
    
      private interface Four {}
    
      private interface Five {}
    
      static final class Impl implements One, Two, Three, Four, Five, Serializable {
        final int value;
    
        Impl(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // When
            RuntimeCIFSException finalException = new RuntimeCIFSException("Final error", intermediateCause);
    
            // Then
            assertEquals(intermediateCause, finalException.getCause());
            assertEquals(rootCause, finalException.getCause().getCause());
            assertEquals("Final error", finalException.getMessage());
            assertEquals("Intermediate", intermediateCause.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top