Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 23 for CopyOnWriteArrayList (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * Creates and returns a new instance of {@link CopyOnWriteArrayList}.
         *
         * @param <E> the element type of {@link CopyOnWriteArrayList}
         * @return a new instance of {@link CopyOnWriteArrayList}
         * @see CopyOnWriteArrayList#CopyOnWriteArrayList()
         */
        public static <E> CopyOnWriteArrayList<E> newCopyOnWriteArrayList() {
            return new CopyOnWriteArrayList<>();
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/logging/AccumulatingLogger.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.cli.logging;
    
    import java.util.List;
    import java.util.concurrent.CopyOnWriteArrayList;
    import java.util.concurrent.atomic.AtomicReference;
    
    import org.apache.maven.api.cli.Logger;
    
    import static java.util.Objects.requireNonNull;
    
    /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Lists.java

      public static <E extends @Nullable Object> CopyOnWriteArrayList<E> newCopyOnWriteArrayList() {
        return new CopyOnWriteArrayList<>();
      }
    
      /**
       * Creates a {@code CopyOnWriteArrayList} instance containing the given elements.
       *
       * @param elements the elements that the list should contain, in order
       * @return a new {@code CopyOnWriteArrayList} containing those elements
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

    import io.gitlab.arturbosch.detekt.Detekt
    import org.gradle.tooling.events.task.TaskFailureResult
    import org.gradle.tooling.events.task.TaskOperationResult
    import java.io.Serializable
    import java.util.concurrent.CopyOnWriteArrayList
    
    /**
     * Register a build service that monitors compilation tasks and code quality tasks (Checkstyle/CodeNarc/detekt)
     * and reports them as TeamCity build problems.
     */
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Apr 11 20:57:49 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

          Collection<Integer> initialContents, Iterable<ListFrobber> actionsToPerformConcurrently) {
        InvocationHandler invocationHandler =
            new InvocationHandler() {
              final CopyOnWriteArrayList<Integer> delegate =
                  new CopyOnWriteArrayList<>(initialContents);
    
              final Method getAllStatesMethod =
                  getOnlyElement(asList(ConcurrentlyMutatedList.class.getDeclaredMethods()));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

    import com.google.common.collect.testing.features.ListFeature;
    import com.google.common.testing.SerializableTester;
    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.concurrent.CopyOnWriteArrayList;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code subList()} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

    import com.google.common.collect.testing.features.ListFeature;
    import com.google.common.testing.SerializableTester;
    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.concurrent.CopyOnWriteArrayList;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code subList()} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return new CopyOnWriteArrayList<>(MinimalCollection.of(elements));
                  }
                })
            .named("CopyOnWriteArrayList")
            .withFeatures(
                ListFeature.SUPPORTS_ADD_WITH_INDEX,
                ListFeature.SUPPORTS_REMOVE_WITH_INDEX,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

         */
        @Test
        public void testConcurrentListenerInvocation() throws Exception {
            // This test verifies CopyOnWriteArrayList allows safe iteration
            assertTrue(fesenClient.onConnectListenerList instanceof java.util.concurrent.CopyOnWriteArrayList);
        }
    
        /**
         * Test: Retry logic correctly enforces maxRetryCount
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import java.util.concurrent.CopyOnWriteArrayList
    import java.util.concurrent.LinkedBlockingDeque
    import java.util.concurrent.TimeUnit
    import okhttp3.internal.concurrent.Task
    import okhttp3.internal.concurrent.TaskRunner
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top