Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testRemoveAtIndexConcurrentWithIteration (0.25 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

      }
    
      @CollectionFeature.Require(FAILS_FAST_ON_CONCURRENT_MODIFICATION)
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveAtIndexConcurrentWithIteration() {
        try {
          Iterator<E> iterator = collection.iterator();
          getList().remove(getNumElements() / 2);
          iterator.next();
          fail("Expected ConcurrentModificationException");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

      }
    
      @CollectionFeature.Require(FAILS_FAST_ON_CONCURRENT_MODIFICATION)
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveAtIndexConcurrentWithIteration() {
        try {
          Iterator<E> iterator = collection.iterator();
          getList().remove(getNumElements() / 2);
          iterator.next();
          fail("Expected ConcurrentModificationException");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4K bytes
    - Viewed (0)
Back to top