- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testCreateWithInvalidSizes (0.56 seconds)
-
guava-tests/test/com/google/common/collect/HashBasedTableTest.java
Table<String, Integer, Character> table4 = HashBasedTable.create(0, 0); table4.put("foo", 1, 'a'); assertEquals((Character) 'a', table4.get("foo", 1)); } public void testCreateWithInvalidSizes() { assertThrows(IllegalArgumentException.class, () -> HashBasedTable.create(100, -5)); assertThrows(IllegalArgumentException.class, () -> HashBasedTable.create(-5, 20)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.6K bytes - Click Count (0)