E
- The type of value in the fast collection.FastIterable
.@Deprecated public interface FastCollection<E> extends Collection<E>, FastIterable<E>
A fast collection is a collection that may support fast iteration — iteration where the same object is returned each time, having been mutated to represent the next state. It can save greatly in object allocation overhead in some circumstances. Using a fast iterator is only possible if the looping code doesn't allow objects returned by the iterator to escape the loop (e.g. it doesn't save them away in other objects or something), but many loops only observe the object and then discard it before the next iteration. Those loops benefit from fast iterators.
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
fastIterator