Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newCopyOnWriteArraySet (0.12 sec)

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

      public void testNewCOWASEmpty() {
        CopyOnWriteArraySet<Integer> set = Sets.newCopyOnWriteArraySet();
        verifySetContents(set, EMPTY_COLLECTION);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // CopyOnWriteArraySet
      public void testNewCOWASFromIterable() {
        CopyOnWriteArraySet<Integer> set = Sets.newCopyOnWriteArraySet(SOME_ITERABLE);
        verifySetContents(set, SOME_COLLECTION);
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       * @return a new, empty {@code CopyOnWriteArraySet}
       * @since 12.0
       */
      @J2ktIncompatible
      @GwtIncompatible // CopyOnWriteArraySet
      public static <E extends @Nullable Object> CopyOnWriteArraySet<E> newCopyOnWriteArraySet() {
        return new CopyOnWriteArraySet<>();
      }
    
      /**
       * Creates a {@code CopyOnWriteArraySet} instance containing the given elements.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top