- /** The ID of the reply. */
- private final UUID id;
-
- /** The Sone that posted this reply. */
- private volatile Sone sone;
-
- /** The Post this reply refers to. */
- private volatile Post post;
-
- /** The time of the reply. */
- private volatile long time;
-
- /** The text of the reply. */
- private volatile String text;
-
- /**
- * Creates a new reply.
- *
- * @param id
- * The ID of the reply
- */
- public Reply(String id) {
- this(id, null, null, 0, null);
- }
-
- /**
- * Creates a new reply.
- *
- * @param sone
- * The sone that posted the reply
- * @param post
- * The post to reply to
- * @param text
- * The text of the reply
- */
- public Reply(Sone sone, Post post, String text) {
- this(sone, post, System.currentTimeMillis(), text);
- }
+ /** Filter for replies with timestamps from the future. */
+ public static final Predicate<Reply<?>> FUTURE_REPLY_FILTER = new Predicate<Reply<?>>() {