I'm refactoring some usages of Google Guava library to Cactoos library and I'm having difficulty figuring out the equivalent implementation of both Function class and Iterables.transform method, using Cactoos library as a replacement.
Example (from https://github.com/yegor256/rultor/blob/b3e58634d6066f52a2a2c94e44033b37e7e464dd/src/test/java/com/rultor/agents/twitter/TweetsTest.java#L84 ):
new JoinedText( " ", Iterables.transform( repo.languages(), new Function() { @Override public String apply(final Language lang) { return String.format("#%s", lang.name()); } } ) ).asString()
What would be the correct equivalent implementation for both in Cactoos?