Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetFirst (0.09 sec)

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

            list.addFirst("1");
            assertThat(list.getFirstEntry().getElement(), is("1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFirst() throws Exception {
            try {
                list.getFirst();
                fail();
            } catch (final NoSuchElementException ex) {
                System.out.println(ex);
            }
            list.addFirst("1");
    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