- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Hope (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/ListsTest.java
// The result of Arrays.asList() is mutable otherWay.set(0, "FOO"); assertEquals("FOO", otherWay.get(0)); // But it can't grow try { otherWay.add("nope"); fail("no exception thrown"); } catch (UnsupportedOperationException expected) { } // And it can't shrink try { otherWay.remove(2); fail("no exception thrown");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
// The result of Arrays.asList() is mutable otherWay.set(0, "FOO"); assertEquals("FOO", otherWay.get(0)); // But it can't grow try { otherWay.add("nope"); fail("no exception thrown"); } catch (UnsupportedOperationException expected) { } // And it can't shrink try { otherWay.remove(2); fail("no exception thrown");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 35.2K bytes - Viewed (0)