- * Filter that selects {@link PostReply}s that have a
- * {@link Optional#isPresent() present} {@link #getPost() post}.
- */
- public static final Predicate<PostReply> HAS_POST_FILTER = new Predicate<PostReply>() {
-
- @Override
- public boolean apply(PostReply postReply) {
- return (postReply != null) && postReply.getPost().isPresent();
- }
- };
-
- /**