- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testGetLast_withDefault_multiple (0.17 seconds)
-
guava-tests/test/com/google/common/collect/IterablesTest.java
public void testGetLast_withDefault_empty_null() { Iterable<String> iterable = emptyList(); assertThat(Iterables.<@Nullable String>getLast(iterable, null)).isNull(); } public void testGetLast_withDefault_multiple() { Iterable<String> iterable = asList("foo", "bar"); assertThat(Iterables.getLast(iterable, "qux")).isEqualTo("bar"); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
cpovirk <******@****.***> 1773406752 -0700
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
cpovirk <******@****.***> 1773406752 -0700
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0)