public static <TT> CollectionStream<TT> of(final TT[] coll) {
        return new CollectionStream<>(coll == null ? Collections.emptyList() : Arrays.asList(coll), false);
    }
creates CollectionStream with an array as its source
main/src/main/java/cgeo/geocaching/utils/CollectionStream.java