Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for newCopyOnWriteArrayList (0.21 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      // pass if it isn't, though this is unlikely.
      public void testRegisterThreadSafety() throws Exception {
        List<StringCatcher> catchers = Lists.newCopyOnWriteArrayList();
        List<Future<?>> futures = Lists.newArrayList();
        ExecutorService executor = Executors.newFixedThreadPool(10);
        int numberOfCatchers = 10000;
        for (int i = 0; i < numberOfCatchers; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Lists.java

       * @return a new, empty {@code CopyOnWriteArrayList}
       * @since 12.0
       */
      @J2ktIncompatible
      @GwtIncompatible // CopyOnWriteArrayList
      public static <E extends @Nullable Object> CopyOnWriteArrayList<E> newCopyOnWriteArrayList() {
        return new CopyOnWriteArrayList<>();
      }
    
      /**
       * Creates a {@code CopyOnWriteArrayList} instance containing the given elements.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  3. .idea/inspectionProfiles/Gradle.xml

          </replaceConfiguration>
          <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" text="com.google.common.collect.Lists.newCopyOnWriteArrayList()" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" replacement="new java.util.concurrent.CopyOnWriteArrayList&lt;&gt;()">
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 26 21:49:47 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ListsTest.java

      public void testNewCOWALEmpty() {
        CopyOnWriteArrayList<Integer> list = Lists.newCopyOnWriteArrayList();
        assertEquals(emptyList(), list);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // CopyOnWriteArrayList
      public void testNewCOWALFromIterable() {
        CopyOnWriteArrayList<Integer> list = Lists.newCopyOnWriteArrayList(SOME_ITERABLE);
        assertEquals(SOME_COLLECTION, list);
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ListsTest.java

      public void testNewCOWALEmpty() {
        CopyOnWriteArrayList<Integer> list = Lists.newCopyOnWriteArrayList();
        assertEquals(emptyList(), list);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // CopyOnWriteArrayList
      public void testNewCOWALFromIterable() {
        CopyOnWriteArrayList<Integer> list = Lists.newCopyOnWriteArrayList(SOME_ITERABLE);
        assertEquals(SOME_COLLECTION, list);
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top