//
/**
+ * Returns whether there are any new Sones.
+ *
+ * @return {@code true} if there are no new Sones, {@code false} if there
+ * are new Sones
+ */
+ public boolean isEmpty() {
+ return newSones.isEmpty();
+ }
+
+ /**
* Adds a discovered Sone.
*
* @param sone
touch();
}
+ /**
+ * Removes the given Sone from the list of new Sones.
+ *
+ * @param sone
+ * The Sone to remove
+ */
+ public void removeSone(Sone sone) {
+ newSones.remove(sone);
+ touch();
+ }
+
//
// ABSTRACTNOTIFICATION METHODS
//