- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for emptyModifiableIterator (0.16 seconds)
-
guava/src/com/google/common/collect/Iterators.java
return (UnmodifiableListIterator<T>) ArrayItr.EMPTY; } /** * This is an enum singleton rather than an anonymous class so ProGuard can figure out it's only * referenced by emptyModifiableIterator(). */ private enum EmptyModifiableIterator implements Iterator<Object> { INSTANCE; @Override public boolean hasNext() { return false; } @Override public Object next() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertThrows(UnsupportedOperationException.class, () -> iterator.add("a")); } public void testEmptyModifiableIterator() { Iterator<String> iterator = Iterators.emptyModifiableIterator(); assertFalse(iterator.hasNext()); assertThrows(NoSuchElementException.class, () -> iterator.next()); assertThrows(IllegalStateException.class, () -> iterator.remove()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 56.7K bytes - Click Count (0)