Returns true if this fluent iterable contains any object for which equals(target) is true. Stream equivalent: stream.anyMatch(Predicate.isEqual(target)).
(@Nullable Object target)
| 342 | |
| 343 | |
| 344 | public final boolean contains(@Nullable Object target) { |
| 345 | return Iterables.contains(iterable, target); |
| 346 | } |
| 347 | |
| 348 | /** |
| 349 | * Returns a fluent iterable whose {@code Iterator} cycles indefinitely over the elements of this |