/** Returns a read-only set containing all the error of this */ public Set<ErrorMessage> errors() { Set<ErrorMessage> s = new ArraySet<>(errors.size()); s.addAll(errors); return s; }
/** Returns a read-only set containing all the error of this */ public Set<ErrorMessage> errors() { Set<ErrorMessage> s = new ArraySet<>(errors.size()); s.addAll(errors); return s; }