Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSetCount_basic (0.1 sec)

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

          it.next();
          it.remove();
          mutations++;
        }
        assertTrue(multiset.isEmpty());
        assertEquals(3, mutations);
      }
    
      public void testSetCount_basic() {
        int initialCount = 20;
        int countToSet = 40;
        AtomicInteger current = new AtomicInteger(initialCount);
    
        when(backingMap.get(KEY)).thenReturn(current);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

          it.next();
          it.remove();
          mutations++;
        }
        assertTrue(multiset.isEmpty());
        assertEquals(3, mutations);
      }
    
      public void testSetCount_basic() {
        int initialCount = 20;
        int countToSet = 40;
        AtomicInteger current = new AtomicInteger(initialCount);
    
        when(backingMap.get(KEY)).thenReturn(current);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top