List of utility methods to do List Last Item
E | removeLast(List Removes the last element of a given List instance. E retval = null; if (list != null && !list.isEmpty()) { retval = list.remove(list.size() - 1); return retval; |
T | removeLast(List Removes the last object from given list. return aList.remove(aList.size() - 1);
|
T | removeLast(List remove Last return l.remove(l.size() - 1);
|
T | removeLast(List removeLast. return remove(list, list.size() - 1);
|
void | removeLastElements(List fromIndex, inclusive, and toIndex, exclusive list.subList(fromIdx, list.size()).clear(); |