add to string
@@ -287,6 +287,11 @@ public class SpectralDBEntry {
return b1 && b2;
}
+ @Override
+ public String toString() {
+ return String.format("Entry: %s (dp: %d)", getOrElse(DBEntryField.NAME, ""), dps.length);
+ }
+
@Override
public int hashCode() {
int result = Objects.hash(fields);
