📄 validationerrors.java
字号:
package xyz.frame.validator;import java.util.Iterator;import xyz.frame.i18n.Message;/** * Collection of validation errors. List is not used as there should be limited * access to some methods. * * @author Guilherme Silveira */public interface ValidationErrors { /** * Adds a new validation error * * @param error * the validation error */ void add(Message error); /** * Returns the number of validation errors registered * * @return the number of validation errors */ int size(); /** * Retrieves an iterator * * @return the iterator */ Iterator<Message> getIterator();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -