- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testNewReferenceArray_withNullArray (0.11 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
for (int i = 0; i < array.length; ++i) { assertEquals(array[i], refArray.get(i)); } assertThrows(IndexOutOfBoundsException.class, () -> refArray.get(array.length)); } public void testNewReferenceArray_withNullArray() throws Exception { assertThrows(NullPointerException.class, () -> Atomics.newReferenceArray(null)); } public void testNullPointers() { NullPointerTester tester = new NullPointerTester();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0)