public Note updateFrom(Note another) { another .getFieldStorage() .forEach( (k, v) -> { if (!v.isFinal()) { getFieldStorage().get(k).setJsonValue(v.getJsonValue()); } }); return this; }
public Boolean isLongerThan(Note rival) { return getLength().compareTo(rival.getLength()) > 0; }