jw
items.flatMap(item -> { if (condition(item)) return streamOf(item).map().map().whatever() else return streamOf(item) })