public interface ArangoIterable<T> extends Iterable<T>
forEach, spliteratorArangoIterator<T> iterator()
@Deprecated void foreach(Consumer<? super T> action)
Iterable.forEach(java.util.function.Consumer) instead.ArangoIterableaction - a action to perform on the elements@Deprecated <R> ArangoIterable<R> map(Function<? super T,? extends R> mapper)
stream() and Stream.map(java.util.function.Function) instead.ArangoIterable consisting of the results of applying the given function to the elements of this
ArangoIterable.mapper - a function to apply to each elementArangoIterable@Deprecated ArangoIterable<T> filter(Predicate<? super T> predicate)
stream() and Stream.filter(java.util.function.Predicate) instead.ArangoIterable consisting of the elements of this ArangoIterable that match the given
predicate.predicate - a predicate to apply to each element to determine if it should be includedArangoIterable@Deprecated T first()
stream() and Stream.findFirst() instead.null if no element exists.null@Deprecated long count()
stream() and Stream.count() instead.ArangoIterable.@Deprecated boolean anyMatch(Predicate<? super T> predicate)
stream() and Stream.anyMatch(java.util.function.Predicate) instead.ArangoIterable match the provided predicate.predicate - a predicate to apply to elements of this ArangoIterabletrue if any elements of the ArangoIterable match the provided predicate, otherwise
false@Deprecated boolean allMatch(Predicate<? super T> predicate)
stream() and Stream.allMatch(java.util.function.Predicate) instead.ArangoIterable match the provided predicate.predicate - a predicate to apply to elements of this ArangoIterabletrue if all elements of the ArangoIterable match the provided predicate, otherwise
false@Deprecated boolean noneMatch(Predicate<? super T> predicate)
stream() and Stream.noneMatch(java.util.function.Predicate) instead.ArangoIterable match the provided predicate.predicate - a predicate to apply to elements of this ArangoIterabletrue if no elements of the ArangoIterable match the provided predicate, otherwise
false@Deprecated <R extends Collection<? super T>> R collectInto(R target)
stream() and Stream.collect(java.util.function.Supplier<R>, java.util.function.BiConsumer<R, ? super T>, java.util.function.BiConsumer<R, R>) instead.ArangoIterable and adds each to the given target.target - the collection to insert intoCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.