+ public static final Function<Post, List<PostReply>> TO_REPLIES = new Function<Post, List<PostReply>>() {
+ @Override
+ public List<PostReply> apply(Post post) {
+ return (post == null) ? Collections.<PostReply>emptyList() : post.getReplies();
+ }
+ };
+