Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeLast (0.49 sec)

  1. src/main/java/org/codelibs/core/collection/SLinkedList.java

            header.next.remove();
            return first;
        }
    
        /**
         * Removes the last element.
         *
         * @return the last element
         */
        public E removeLast() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            final E last = header.previous.element;
            header.previous.remove();
            return last;
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/ArrayMap.java

                final V value = e.value;
                removeList(entryIndexOf(e));
                e.clear();
                return value;
            }
            return null;
        }
    
        /**
         * Removes the entry at the specified index.
         *
         * @param index
         *            the index
         * @return the value of the entry at the specified index
         */
        public V removeAt(final int index) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
Back to top