org.jboss.weld.util.collections
Class IterableToIteratorFunction<T>

java.lang.Object
  extended by org.jboss.weld.util.collections.IterableToIteratorFunction<T>
All Implemented Interfaces:
com.google.common.base.Function<java.lang.Iterable<T>,java.util.Iterator<T>>

public class IterableToIteratorFunction<T>
extends java.lang.Object
implements com.google.common.base.Function<java.lang.Iterable<T>,java.util.Iterator<T>>


Constructor Summary
IterableToIteratorFunction()
           
 
Method Summary
 java.util.Iterator<T> apply(java.lang.Iterable<T> iterable)
           
static
<T> com.google.common.base.Function<java.lang.Iterable<T>,java.util.Iterator<T>>
instance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

IterableToIteratorFunction

public IterableToIteratorFunction()
Method Detail

instance

public static <T> com.google.common.base.Function<java.lang.Iterable<T>,java.util.Iterator<T>> instance()

apply

public java.util.Iterator<T> apply(java.lang.Iterable<T> iterable)
Specified by:
apply in interface com.google.common.base.Function<java.lang.Iterable<T>,java.util.Iterator<T>>


Copyright © 2008-2010 Seam Framework. All Rights Reserved.