Class ListUtil
- java.lang.Object
-
- org.abego.treelayout.internal.util.java.util.ListUtil
-
-
Constructor Summary
Constructors Constructor Description ListUtil()
-
-
-
Method Detail
-
getLast
public static <T> T getLast(List<T> list)
- Type Parameters:
T
- Type of elements in the list- Parameters:
list
- [!list.isEmpty()]- Returns:
- the last element of the list
-
-