org.plovr.util
Class IterablesUtil

java.lang.Object
  extended by org.plovr.util.IterablesUtil

public final class IterablesUtil
extends java.lang.Object

IterablesUtil has methods that are not available in Iterables.

Author:
bolinfest@gmail.com (Michael Bolin)

Method Summary
static
<T> T
getFirst(java.lang.Iterable<T> iterable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFirst

public static <T> T getFirst(java.lang.Iterable<T> iterable)
Throws:
java.util.NoSuchElementException - if the Iterator returned by iterable is empty.