Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ModifiedButNotUsed (0.15 sec)

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

                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SUPPORTS_ADD)
                .createTestSuite());
        return suite;
      }
    
      @SuppressWarnings("ModifiedButNotUsed")
      public void testFastAddAllMultiset() {
        final AtomicInteger addCalls = new AtomicInteger();
        Multiset<String> multiset =
            new NoRemoveMultiset<String>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SUPPORTS_ADD)
                .createTestSuite());
        return suite;
      }
    
      @SuppressWarnings("ModifiedButNotUsed")
      public void testFastAddAllMultiset() {
        final AtomicInteger addCalls = new AtomicInteger();
        Multiset<String> multiset =
            new NoRemoveMultiset<String>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        }
      }
    
      public void testAsList() {
        ImmutableList<String> list = ImmutableList.of("a", "b");
        assertSame(list, list.asList());
      }
    
      @SuppressWarnings("ModifiedButNotUsed")
      @GwtIncompatible // actually allocates nCopies
      @J2ktIncompatible // actually allocates nCopies
      public void testAddOverflowCollection() {
        ImmutableList.Builder<String> builder = ImmutableList.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        builder.add("bar");
        RegularImmutableList<String> list = (RegularImmutableList<String>) builder.build();
        builder.add("baz");
        assertTrue(list.array != builder.contents);
      }
    
      @SuppressWarnings("ModifiedButNotUsed")
      @GwtIncompatible // actually allocates nCopies
      @J2ktIncompatible // actually allocates nCopies
      public void testAddOverflowCollection() {
        ImmutableList.Builder<String> builder = ImmutableList.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top