Package com.google.common.collect
Class Iterables.UnmodifiableIterable<T>
java.lang.Object
com.google.common.collect.FluentIterable<T>
com.google.common.collect.Iterables.UnmodifiableIterable<T>
- All Implemented Interfaces:
Iterable<T>
- Enclosing class:
Iterables
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.FluentIterable
allMatch, anyMatch, append, append, concat, concat, concat, concat, concat, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, from, get, index, isEmpty, join, last, limit, of, of, size, skip, stream, toArray, toList, toMap, toMultiset, toSet, toSortedList, toSortedSet, transform, transformAndConcat, uniqueIndex
-
Field Details
-
iterable
-
-
Constructor Details
-
UnmodifiableIterable
-
-
Method Details
-
iterator
-
forEach
-
spliterator
-
toString
Description copied from class:FluentIterable
Returns a string representation of this fluent iterable, with the format[e1, e2, ..., en]
.Stream
equivalent:stream.collect(Collectors.joining(", ", "[", "]"))
or (less efficiently)stream.collect(Collectors.toList()).toString()
.- Overrides:
toString
in classFluentIterable<T>
-