Package org.eclipse.m2m.atl.emftvm.util
Class LazyCollections
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollections
-
public final class LazyCollections extends java.lang.ObjectLazyCollections utility class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> LazyBag<T>asLazyBag(java.util.Collection<T> source)Returnssourcewrapped as aLazyBag.static <T> LazyList<T>asLazyList(java.util.Collection<T> source)Returnssourcewrapped as aLazyList.static <T> LazyOrderedSet<T>asLazyOrderedSet(java.util.Collection<T> source)Returnssourcewrapped as aLazyOrderedSet.static <T> LazySet<T>asLazySet(java.util.Collection<T> source)Returnssourcewrapped as aLazySet.
-
-
-
Method Detail
-
asLazyList
public static <T> LazyList<T> asLazyList(java.util.Collection<T> source)
Returnssourcewrapped as aLazyList.- Parameters:
source- the source collection to wrap- Returns:
sourcewrapped as aLazyList
-
asLazyOrderedSet
public static <T> LazyOrderedSet<T> asLazyOrderedSet(java.util.Collection<T> source)
Returnssourcewrapped as aLazyOrderedSet.- Parameters:
source- the source collection to wrap- Returns:
sourcewrapped as aLazyList
-
asLazyBag
public static <T> LazyBag<T> asLazyBag(java.util.Collection<T> source)
Returnssourcewrapped as aLazyBag.- Parameters:
source- the source collection to wrap- Returns:
sourcewrapped as aLazyBag
-
-