Package org.aspectj.weaver
Class Iterators
- java.lang.Object
-
- org.aspectj.weaver.Iterators
-
public final class Iterators extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIterators.Filter<T>static interfaceIterators.Getter<A,B>static classIterators.ResolvedTypeArrayIterator
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Iterator<T>append(Iterator<T> a, Iterator<T> b)static <T> Iterator<T>append1(Iterator<T> a, Iterator<T> b)static Iterator<ResolvedType>array(ResolvedType[] o, boolean genericsAware)static <T> Iterator<T>array(T[] o)static <T> Iterators.Filter<T>dupFilter()static <A,B>
Iterator<B>mapOver(Iterator<A> a, Iterators.Getter<A,B> g)static <T> Iterator<T>one(T it)static <A> Iterator<A>recur(A a, Iterators.Getter<A,A> g)static <T> Iterator<T>snoc(Iterator<T> first, T last)
-
-
-
Method Detail
-
dupFilter
public static <T> Iterators.Filter<T> dupFilter()
-
array
public static <T> Iterator<T> array(T[] o)
-
array
public static Iterator<ResolvedType> array(ResolvedType[] o, boolean genericsAware)
-
mapOver
public static <A,B> Iterator<B> mapOver(Iterator<A> a, Iterators.Getter<A,B> g)
-
recur
public static <A> Iterator<A> recur(A a, Iterators.Getter<A,A> g)
-
one
public static <T> Iterator<T> one(T it)
-
-