Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testConstructorZeroLength (0.28 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        assertEquals(0, aa.length());
        assertThrows(IndexOutOfBoundsException.class, () -> aa.get(0));
      }
    
      /** constructor with length zero has size 0 and contains no elements */
      public void testConstructorZeroLength() {
        AtomicDoubleArray aa = new AtomicDoubleArray(0);
        assertEquals(0, aa.length());
        assertThrows(IndexOutOfBoundsException.class, () -> aa.get(0));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 14.8K bytes
    - Click Count (0)
Back to Top