public class XmlErrorWatcher extends AbstractCollection<XmlError>
Constructor and Description |
---|
XmlErrorWatcher(Collection<XmlError> underlying) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(XmlError o) |
XmlError |
firstError() |
boolean |
hasError() |
Iterator<XmlError> |
iterator() |
int |
size() |
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public XmlErrorWatcher(Collection<XmlError> underlying)
public boolean add(XmlError o)
add
in interface Collection<XmlError>
add
in class AbstractCollection<XmlError>
public Iterator<XmlError> iterator()
iterator
in interface Iterable<XmlError>
iterator
in interface Collection<XmlError>
iterator
in class AbstractCollection<XmlError>
public int size()
size
in interface Collection<XmlError>
size
in class AbstractCollection<XmlError>
public boolean hasError()
public XmlError firstError()