Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UnsupportedOperationException (0.48 sec)

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

                return 0;
              }
            };
    
        assertEquals(0, (int) iter.next());
    
        try {
          iter.remove();
          fail("No exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testReentrantHasNext() {
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

                return 0;
              }
            };
    
        assertEquals(0, (int) iter.next());
    
        try {
          iter.remove();
          fail("No exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    
      @GwtIncompatible // weak references
      @J2ktIncompatible
      @AndroidIncompatible // depends on details of GC
      public void testFreesNextReference() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java

                return 0;
              }
            };
    
        assertEquals(0, (int) iter.next());
    
        try {
          iter.remove();
          fail("No exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    
      @GwtIncompatible // weak references
      @J2ktIncompatible
      @AndroidIncompatible // depends on details of GC
      public void testFreesNextReference() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                return 0;
              }
            };
    
        assertEquals(0, (int) iter.next());
    
        try {
          iter.remove();
          fail("No exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testReentrantHasNext() {
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top