|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.util.ListUtil
public final class ListUtil
Provides helper functions for List.
| Method Summary | ||
|---|---|---|
static
|
getLast(java.util.List<T> list)
Retrieve the last element from a list. |
|
static
|
removeLast(java.util.List<T> list)
Retrieve and remove the last element from a list. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> T getLast(java.util.List<T> list)
T - the type of objects stored in the listlist - the list to work on
public static <T> T removeLast(java.util.List<T> list)
T - the type of objects stored in the listlist - the list to work on
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||