Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for CopyOnWriteArrayList (0.31 sec)

  1. guava-tests/test/com/google/common/collect/ListsImplTest.java

      @J2ktIncompatible
      @GwtIncompatible // CopyOnWriteArrayList
      private static final class CopyOnWriteListExample extends ListExample {
    
        protected CopyOnWriteListExample(String name) {
          super(name, Modifiability.DIRECT_ONLY);
        }
    
        @Override
        public <T> List<T> createList(Class<T> listType, Collection<? extends T> contents) {
          return new CopyOnWriteArrayList<>(contents);
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

      @J2ktIncompatible
      @GwtIncompatible // CopyOnWriteArrayList
      private static final class CopyOnWriteListExample extends ListExample {
    
        protected CopyOnWriteListExample(String name) {
          super(name, Modifiability.DIRECT_ONLY);
        }
    
        @Override
        public <T> List<T> createList(Class<T> listType, Collection<? extends T> contents) {
          return new CopyOnWriteArrayList<>(contents);
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

          final Iterable<ListFrobber> actionsToPerformConcurrently) {
        InvocationHandler invocationHandler =
            new InvocationHandler() {
              final CopyOnWriteArrayList<Integer> delegate =
                  new CopyOnWriteArrayList<>(initialContents);
    
              final Method getAllStatesMethod =
                  getOnlyElement(asList(ConcurrentlyMutatedList.class.getDeclaredMethods()));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.util.Collections;
    import java.util.IdentityHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.CopyOnWriteArrayList;
    
    import org.apache.maven.project.DependencyResolutionResult;
    import org.apache.maven.project.MavenProject;
    
    public class DefaultMavenExecutionResult implements MavenExecutionResult {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Lists.java

        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
       * @since 12.0
       */
      @J2ktIncompatible
      @GwtIncompatible // CopyOnWriteArrayList
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

    import com.google.common.testing.SerializableTester;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    import java.util.Collections;
    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}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

          final Iterable<ListFrobber> actionsToPerformConcurrently) {
        InvocationHandler invocationHandler =
            new InvocationHandler() {
              final CopyOnWriteArrayList<Integer> delegate =
                  new CopyOnWriteArrayList<>(initialContents);
    
              final Method getAllStatesMethod =
                  getOnlyElement(asList(ConcurrentlyMutatedList.class.getDeclaredMethods()));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. okhttp/src/main/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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        }
    
        /**
         * {@link CopyOnWriteArrayList}の新しいインスタンスを作成して返します。
         *
         * @param <E>
         *            {@link CopyOnWriteArrayList}の要素型
         * @return {@link CopyOnWriteArrayList}の新しいインスタンス
         * @see CopyOnWriteArrayList#CopyOnWriteArrayList()
         */
        public static <E> CopyOnWriteArrayList<E> newCopyOnWriteArrayList() {
            return new CopyOnWriteArrayList<>();
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 53.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

    import java.lang.reflect.InvocationTargetException;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CopyOnWriteArrayList;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import com.google.inject.Key;
    import com.google.inject.OutOfScopeException;
    import com.google.inject.Provider;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top