Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCopyOf_concurrentlyMutating (0.18 sec)

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

      }
    
      public void testCopyOf_iteratorNull() {
        assertThrows(NullPointerException.class, () -> ImmutableList.copyOf((Iterator<String>) null));
      }
    
      public void testCopyOf_concurrentlyMutating() {
        List<String> sample = Lists.newArrayList("a", "b", "c");
        for (int delta : new int[] {-1, 0, 1}) {
          for (int i = 0; i < sample.size(); i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testCopyOf_iteratorNull() {
        assertThrows(NullPointerException.class, () -> ImmutableList.copyOf((Iterator<String>) null));
      }
    
      public void testCopyOf_concurrentlyMutating() {
        List<String> sample = Lists.newArrayList("a", "b", "c");
        for (int delta : new int[] {-1, 0, 1}) {
          for (int i = 0; i < sample.size(); i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top