- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getLastEntry (0.05 sec)
-
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
e = list.getLastEntry(); assertThat(e.getNext(), is(nullValue())); assertThat(e.getPrevious().getElement(), is("2")); list.getEntry(1).remove(); assertThat(list.getFirst(), is("1")); assertThat(list.getLast(), is("3")); list.getLastEntry().remove(); assertThat(list.getLast(), is("1")); list.getLastEntry().remove();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
} /** * 最後の要素を返します。 * * @return 最後の要素 */ public E getLast() { if (isEmpty()) { throw new NoSuchElementException(); } return getLastEntry().element; } /** * 最初のエントリを返します。 * * @return 最初のエントリ */ public Entry getFirstEntry() { if (isEmpty()) { return null; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11K bytes - Viewed (0)