- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for CollectionIncompatibleType (0.27 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertTrue(set.contains("google")); assertFalse(set.contains("")); assertFalse(set.contains("california")); assertFalse(set.contains(null)); } @SuppressWarnings("CollectionIncompatibleType") // testing incompatible types public void testExplicit_containsMismatchedTypes() { SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertTrue(set.contains("google")); assertFalse(set.contains("")); assertFalse(set.contains("california")); assertFalse(set.contains(null)); } @SuppressWarnings("CollectionIncompatibleType") // testing incompatible types public void testExplicit_containsMismatchedTypes() { SortedSet<String> set = ImmutableSortedSet.orderedBy(STRING_LENGTH)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
expectedHash += entry.hashCode(); } assertEquals(expectedHash, map.hashCode()); } assertMoreInvariants(map); } @SuppressWarnings("CollectionIncompatibleType") private void assertEntrySetNotContainsString(Set<Entry<K, V>> entrySet) { // Very unlikely that a buggy collection would ever return true. It might accidentally throw. assertFalse(entrySet.contains("foo"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
expectedHash += entry.hashCode(); } assertEquals(expectedHash, map.hashCode()); } assertMoreInvariants(map); } @SuppressWarnings("CollectionIncompatibleType") private void assertEntrySetNotContainsString(Set<Entry<K, V>> entrySet) { // Very unlikely that a buggy collection would ever return true. It might accidentally throw. assertFalse(entrySet.contains("foo"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0)