org.abego.treelayout.internal.util.java.util
Class ListUtil

java.lang.Object
  extended by org.abego.treelayout.internal.util.java.util.ListUtil

public class ListUtil
extends Object

Util (general purpose) methods dealing with List.

Author:
Udo Borkowski (ub@abego.org)

Constructor Summary
ListUtil()
           
 
Method Summary
static
<T> T
getLast(List<T> list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListUtil

public ListUtil()
Method Detail

getLast

public static <T> T getLast(List<T> list)
Type Parameters:
T -
Parameters:
list - [!list.isEmpty()]
Returns:
the last element of the list


Copyright © 2011 abego Software GmbH, Germany. All Rights Reserved.