org.abego.treelayout.core 1.0.3
org.abego.treelayout.internal.util.java.util
ListUtil
Top
Description
Constructors
Methods
org.abego.treelayout.internal.util.java.util
public
Class ListUtil
extends
Object
Class Inheritance
java.lang.Object
org.abego.treelayout.internal.util.java.util.ListUtil
Imports
java.
util.
List
Util (general purpose) methods dealing with
List
.
Author
Udo Borkowski (
[email protected]
)
Constructor Summary
Access
Constructor and Description
public
ListUtil
()
Method Summary
Modifier and Type
Method and Description
public
static
<
Type of elements in the list
T
>
T
Returns:
the last element of the list
getLast
(
List
<T>
[!list.isEmpty()]
list
)
Inherited from
java.lang.Object
:
clone
equals
finalize
getClass
hashCode
notify
notifyAll
toString
wait
wait
wait
Constructor Detail
ListUtil
back to summary
public
ListUtil
()
Method Detail
getLast
back to summary
public
static
<T>
T
getLast
(
List
<T> list
)
Parameters
<T>
Type of elements in the list
list:
List
<T>
[!list.isEmpty()]
Returns:
T
the last element of the list