java: flatMap test