Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_sizeOf_collectionVariations (0.1 seconds)

  1. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            // Nested arrays
            assertEquals(120L, MemoryUtil.sizeOf(new Object[] { new String[] { "test" }, new String[] { "test" } }));
        }
    
        @Test
        public void test_sizeOf_collectionVariations() {
            // Empty collection
            assertEquals(0L, MemoryUtil.sizeOf(new ArrayList<>()));
    
            // Collection with null elements
            List<String> listWithNulls = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
Back to Top