- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 31 for CopyOnWriteArrayList (0.17 seconds)
-
src/main/java/org/codelibs/fess/entity/ChatSession.java
synchronized (messagesLock) { if (messages == null) { this.messages = null; } else if (messages instanceof CopyOnWriteArrayList) { this.messages = messages; } else { this.messages = new CopyOnWriteArrayList<>(messages); } } } /** * Adds a message to this session and updates the last accessed timestamp.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 6.7K bytes - Click Count (0) -
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) -
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) -
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.5K bytes - Click Count (0) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java
* Tests the improvements made to thread safety using CopyOnWriteArrayList. */ public class RankFusionProcessorConcurrencyTest extends UnitFessTestCase { private static final String ID_FIELD = "_id"; /** * Test concurrent registration of searchers from multiple threads. * Verifies that CopyOnWriteArrayList handles concurrent modifications safely. */ @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 13.5K bytes - Click Count (0) -
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) -
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)