public interface UnmodSortedIterable<T> extends UnmodIterable<T>
UnmodIterable.AbstractUnmodIterable<T>
Modifier and Type | Method and Description |
---|---|
static <E> UnmodSortedIterable<E> |
castFromList(List<E> s) |
static <K,V> UnmodSortedIterable<UnmodMap.UnEntry<K,V>> |
castFromSortedMap(SortedMap<K,V> sm) |
static <E> UnmodSortedIterable<E> |
castFromSortedSet(SortedSet<E> s) |
static boolean |
equal(UnmodSortedIterable a,
UnmodSortedIterable b)
This is correct, but O(n).
|
static boolean |
equals(UnmodSortedIterable a,
UnmodSortedIterable b)
Deprecated.
|
UnmodSortedIterator<T> |
iterator()
Returns items in a guaranteed order.
|
concat, drop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, map, precat, take, takeWhile, toString
forEach, spliterator
toImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSet
@Deprecated static boolean equals(UnmodSortedIterable a, UnmodSortedIterable b)
equal(UnmodSortedIterable, UnmodSortedIterable)
to
avoid confusion with instance method Object.equals(Object)
static boolean equal(UnmodSortedIterable a, UnmodSortedIterable b)
static <E> UnmodSortedIterable<E> castFromSortedSet(SortedSet<E> s)
static <E> UnmodSortedIterable<E> castFromList(List<E> s)
static <K,V> UnmodSortedIterable<UnmodMap.UnEntry<K,V>> castFromSortedMap(SortedMap<K,V> sm)
UnmodSortedIterator<T> iterator()
Copyright © 2016. All rights reserved.