1 package net.pterodactylus.sone.core
3 import net.pterodactylus.sone.data.*
5 class SoneComparison(private val oldSone: Sone, private val newSone: Sone) {
7 val newPosts: Collection<Post> get() = newSone.posts - oldSone.posts
8 val removedPosts: Collection<Post> get() = oldSone.posts - newSone.posts
9 val newPostReplies: Collection<PostReply> get() = newSone.replies - oldSone.replies
10 val removedPostReplies: Collection<PostReply> get() = oldSone.replies - newSone.replies