Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAddFirst (0.05 sec)

  1. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            list.addLast("2");
            list.removeLast();
            assertThat(list.getLast(), is("1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAddFirst() throws Exception {
            list.addFirst("1");
            list.addFirst("2");
            assertThat(list.getFirst(), is("2"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top