- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testUnmodifiableIterable (0.08 sec)
-
guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testGetLast_emptyIterable() { Set<String> set = new HashSet<>(); assertThrows(NoSuchElementException.class, () -> Iterables.getLast(set)); } public void testUnmodifiableIterable() { List<String> list = newArrayList("a", "b", "c"); Iterable<String> iterable = Iterables.unmodifiableIterable(list); Iterator<String> iterator = iterable.iterator(); iterator.next();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testGetLast_emptyIterable() { Set<String> set = new HashSet<>(); assertThrows(NoSuchElementException.class, () -> Iterables.getLast(set)); } public void testUnmodifiableIterable() { List<String> list = newArrayList("a", "b", "c"); Iterable<String> iterable = Iterables.unmodifiableIterable(list); Iterator<String> iterator = iterable.iterator(); iterator.next();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0)