Class Iterables
java.lang.Object
org.eclipse.collections.impl.factory.Iterables
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ImmutableBag<T>
iBag()
static <T> ImmutableBag<T>
iBag
(T one) static <T> ImmutableBag<T>
iBag
(T... elements) static <T> ImmutableList<T>
iList()
static <T> ImmutableList<T>
iList
(T one) static <T> ImmutableList<T>
iList
(T... elements) static <T> ImmutableList<T>
iList
(T one, T two) static <T> ImmutableList<T>
iList
(T one, T two, T three) static <T> ImmutableList<T>
iList
(T one, T two, T three, T four) static <T> ImmutableList<T>
iList
(T one, T two, T three, T four, T five) static <T> ImmutableList<T>
iList
(T one, T two, T three, T four, T five, T six) static <T> ImmutableList<T>
iList
(T one, T two, T three, T four, T five, T six, T seven) static <T> ImmutableList<T>
iList
(T one, T two, T three, T four, T five, T six, T seven, T eight) static <T> ImmutableList<T>
iList
(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine) static <T> ImmutableList<T>
iList
(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine, T ten) static <K,
V> ImmutableMap<K, V> iMap()
static <K,
V> ImmutableMap<K, V> iMap
(K key, V value) static <K,
V> ImmutableMap<K, V> iMap
(K key1, V value1, K key2, V value2) static <K,
V> ImmutableMap<K, V> iMap
(K key1, V value1, K key2, V value2, K key3, V value3) static <K,
V> ImmutableMap<K, V> iMap
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) static <T> ImmutableSet<T>
iSet()
static <T> ImmutableSet<T>
iSet
(T one) static <T> ImmutableSet<T>
iSet
(T... elements) static <T> ImmutableSet<T>
iSet
(T one, T two) static <T> ImmutableSet<T>
iSet
(T one, T two, T three) static <T> ImmutableSet<T>
iSet
(T one, T two, T three, T four) static <K,
V> ImmutableSortedMap<K, V> static <K,
V> ImmutableSortedMap<K, V> iSortedMap
(Comparator<? super K> comparator) static <K,
V> ImmutableSortedMap<K, V> iSortedMap
(Comparator<? super K> comparator, K key, V value) static <K,
V> ImmutableSortedMap<K, V> iSortedMap
(Comparator<? super K> comparator, K key1, V value1, K key2, V value2) static <K,
V> ImmutableSortedMap<K, V> iSortedMap
(Comparator<? super K> comparator, K key1, V value1, K key2, V value2, K key3, V value3) static <K,
V> ImmutableSortedMap<K, V> iSortedMap
(Comparator<? super K> comparator, K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) static <K,
V> ImmutableSortedMap<K, V> iSortedMap
(K key, V value) static <K,
V> ImmutableSortedMap<K, V> iSortedMap
(K key1, V value1, K key2, V value2) static <K,
V> ImmutableSortedMap<K, V> iSortedMap
(K key1, V value1, K key2, V value2, K key3, V value3) static <K,
V> ImmutableSortedMap<K, V> iSortedMap
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) static <T> ImmutableSortedSet<T>
static <T> ImmutableSortedSet<T>
iSortedSet
(Comparator<? super T> comparator) static <T> ImmutableSortedSet<T>
iSortedSet
(Comparator<? super T> comparator, T... elements) static <T> ImmutableSortedSet<T>
iSortedSet
(T... elements) static <T> MutableBag<T>
mBag()
static <T> MutableBag<T>
mBag
(T... elements) static <T> MutableList<T>
mList()
static <T> MutableList<T>
mList
(T... elements) static <K,
V> MutableMap<K, V> mMap()
static <K,
V> MutableMap<K, V> mMap
(K key, V value) static <K,
V> MutableMap<K, V> mMap
(K key1, V value1, K key2, V value2) static <K,
V> MutableMap<K, V> mMap
(K key1, V value1, K key2, V value2, K key3, V value3) static <K,
V> MutableMap<K, V> mMap
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) static <T> MutableSet<T>
mSet()
static <T> MutableSet<T>
mSet
(T... elements) static <K,
V> MutableSortedMap<K, V> static <K,
V> MutableSortedMap<K, V> mSortedMap
(Comparator<? super K> comparator) static <K,
V> MutableSortedMap<K, V> mSortedMap
(Comparator<? super K> comparator, K key, V value) static <K,
V> MutableSortedMap<K, V> mSortedMap
(Comparator<? super K> comparator, K key1, V value1, K key2, V value2) static <K,
V> MutableSortedMap<K, V> mSortedMap
(Comparator<? super K> comparator, K key1, V value1, K key2, V value2, K key3, V value3) static <K,
V> MutableSortedMap<K, V> mSortedMap
(Comparator<? super K> comparator, K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) static <K,
V> MutableSortedMap<K, V> mSortedMap
(K key, V value) static <K,
V> MutableSortedMap<K, V> mSortedMap
(K key1, V value1, K key2, V value2) static <K,
V> MutableSortedMap<K, V> mSortedMap
(K key1, V value1, K key2, V value2, K key3, V value3) static <K,
V> MutableSortedMap<K, V> mSortedMap
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) static <T> MutableSortedSet<T>
static <T> MutableSortedSet<T>
mSortedSet
(Comparator<? super T> comparator) static <T> MutableSortedSet<T>
mSortedSet
(Comparator<? super T> comparator, T... elements) static <T> MutableSortedSet<T>
mSortedSet
(T... elements)
-
Method Details
-
mList
-
mList
-
mSet
-
mSet
-
mBag
-
mBag
-
mMap
-
mMap
-
mMap
-
mMap
-
mMap
public static <K,V> MutableMap<K,V> mMap(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) -
mSortedSet
-
mSortedSet
-
mSortedSet
-
mSortedSet
-
mSortedMap
-
mSortedMap
-
mSortedMap
-
mSortedMap
public static <K,V> MutableSortedMap<K,V> mSortedMap(K key1, V value1, K key2, V value2, K key3, V value3) -
mSortedMap
public static <K,V> MutableSortedMap<K,V> mSortedMap(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) -
mSortedMap
-
mSortedMap
public static <K,V> MutableSortedMap<K,V> mSortedMap(Comparator<? super K> comparator, K key, V value) -
mSortedMap
public static <K,V> MutableSortedMap<K,V> mSortedMap(Comparator<? super K> comparator, K key1, V value1, K key2, V value2) -
mSortedMap
public static <K,V> MutableSortedMap<K,V> mSortedMap(Comparator<? super K> comparator, K key1, V value1, K key2, V value2, K key3, V value3) -
mSortedMap
public static <K,V> MutableSortedMap<K,V> mSortedMap(Comparator<? super K> comparator, K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) -
iList
-
iList
-
iList
-
iList
-
iList
-
iList
-
iList
-
iList
-
iList
public static <T> ImmutableList<T> iList(T one, T two, T three, T four, T five, T six, T seven, T eight) -
iList
public static <T> ImmutableList<T> iList(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine) -
iList
public static <T> ImmutableList<T> iList(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine, T ten) -
iList
-
iSet
-
iSet
-
iSet
-
iSet
-
iSet
-
iSet
-
iBag
-
iBag
-
iBag
-
iMap
-
iMap
-
iMap
-
iMap
-
iMap
public static <K,V> ImmutableMap<K,V> iMap(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) -
iSortedSet
-
iSortedSet
-
iSortedSet
-
iSortedSet
-
iSortedMap
-
iSortedMap
-
iSortedMap
-
iSortedMap
public static <K,V> ImmutableSortedMap<K,V> iSortedMap(K key1, V value1, K key2, V value2, K key3, V value3) -
iSortedMap
public static <K,V> ImmutableSortedMap<K,V> iSortedMap(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) -
iSortedMap
-
iSortedMap
public static <K,V> ImmutableSortedMap<K,V> iSortedMap(Comparator<? super K> comparator, K key, V value) -
iSortedMap
public static <K,V> ImmutableSortedMap<K,V> iSortedMap(Comparator<? super K> comparator, K key1, V value1, K key2, V value2) -
iSortedMap
public static <K,V> ImmutableSortedMap<K,V> iSortedMap(Comparator<? super K> comparator, K key1, V value1, K key2, V value2, K key3, V value3) -
iSortedMap
public static <K,V> ImmutableSortedMap<K,V> iSortedMap(Comparator<? super K> comparator, K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
-