Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for CopyOnWriteArrayList (0.23 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/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 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/lifecycle/DelegatingProjectExecutionListener.java

    import java.util.List;
    import java.util.concurrent.CopyOnWriteArrayList;
    
    import org.apache.maven.execution.ProjectExecutionEvent;
    import org.apache.maven.execution.ProjectExecutionListener;
    
    @Named
    @Singleton
    public class DelegatingProjectExecutionListener implements ProjectExecutionListener {
        private final List<ProjectExecutionListener> listeners = new CopyOnWriteArrayList<>();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  4. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/DelegatingMojoExecutionListener.java

     * under the License.
     */
    package org.apache.maven.lifecycle;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.List;
    import java.util.concurrent.CopyOnWriteArrayList;
    
    import org.apache.maven.execution.MojoExecutionEvent;
    import org.apache.maven.execution.MojoExecutionListener;
    import org.apache.maven.plugin.MojoExecutionException;
    
    @Named
    @Singleton
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  6. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. 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,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 12.1K bytes
    - Viewed (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,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 11.6K bytes
    - Viewed (0)
  9. 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)
  10. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top