package net.pterodactylus.sone.core import net.pterodactylus.sone.data.* class SoneComparison(private val oldSone: Sone, private val newSone: Sone) { val newPosts: Collection get() = newSone.posts - oldSone.posts val removedPosts: Collection get() = oldSone.posts - newSone.posts val newPostReplies: Collection get() = newSone.replies - oldSone.replies val removedPostReplies: Collection get() = oldSone.replies - newSone.replies }