Reversing an ordered stream
Does streaming an array and then reversing the order of the stream result in the overhead (e.g. like the necessity to fully stream the array first and then iterate on it backwards)?
Using a helper structure
final Object[] arr; // assume this is filled List<Integer> list = Arrays.asList(arr); Collections.reverse(list); list.stream(); Is the only way to circumvent overhead (e.g. like the creation of an additional List) to iterate over the array in reverse order?