Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Kremer (0.16 sec)

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

      @CollectionSize.Require(SEVERAL)
      public void testClearConcurrentWithIteration() {
        try {
          Iterator<E> iterator = collection.iterator();
          collection.clear();
          iterator.next();
          /*
           * We prefer for iterators to fail immediately on hasNext, but ArrayList
           * and LinkedList will notably return true on hasNext here!
           */
          fail("Expected ConcurrentModificationException");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

      @CollectionSize.Require(SEVERAL)
      public void testClearConcurrentWithIteration() {
        try {
          Iterator<E> iterator = collection.iterator();
          collection.clear();
          iterator.next();
          /*
           * We prefer for iterators to fail immediately on hasNext, but ArrayList
           * and LinkedList will notably return true on hasNext here!
           */
          fail("Expected ConcurrentModificationException");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.3K bytes
    - Viewed (0)
Back to top