org.scijava.util
Class ListUtils
java.lang.Object
org.scijava.util.ListUtils
public final class ListUtils
- extends Object
Useful methods for working with List
s.
- Author:
- Curtis Rueden
Method Summary |
static
|
first(List<T> list)
Gets the first element of the given list, or null if none. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
first
public static <T> T first(List<T> list)
- Gets the first element of the given list, or null if none.
Copyright © 2009–2015 SciJava. All rights reserved.