public static Stream<Inspector> entriesStream(Inspector inspector) {
        int characteristics = Spliterator.NONNULL | Spliterator.SIZED | Spliterator.ORDERED;
        return StreamSupport.stream(Spliterators.spliterator(entriesIterator(inspector),
                                                             inspector.entries(),
                                                             characteristics),
                                    false);
    }
Returns stream of entries for given inspector. If the inspector is not an array, empty stream is returned
vespajlib/src/main/java/com/yahoo/slime/SlimeUtils.java