org.scijava.util
Class ListUtils

java.lang.Object
  extended by org.scijava.util.ListUtils

public final class ListUtils
extends Object

Useful methods for working with Lists.

Author:
Curtis Rueden

Method Summary
static
<T> T
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
 

Method Detail

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.