Class DefaultErrors

    • Constructor Detail

      • DefaultErrors

        public DefaultErrors()
      • DefaultErrors

        public DefaultErrors​(ErrorItem... itemArray)
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Description copied from interface: Errors
        Return true if there's no errors.
        Specified by:
        isEmpty in interface Errors
        Returns:
        true if there's no errors
      • removeItem

        public boolean removeItem​(ErrorItem item)
        Description copied from interface: Errors
        Remove the given ErrorItem (item) from this Errors.
        Specified by:
        removeItem in interface Errors
        Parameters:
        item - an ErrorItem
        Returns:
        true if removed
      • clear

        public void clear()
        Description copied from interface: Errors
        Clear out all the ErrorItems in this Errors.
        Specified by:
        clear in interface Errors
      • equals

        public boolean equals​(Object o)
        Description copied from interface: Errors
        Compares the specified object with this Errors for equality.
        Specified by:
        equals in interface Errors
        Overrides:
        equals in class Object
        Parameters:
        o - the object to be compared for equality with this Errors
        Returns:
        true if the specified object is equal to this Errors
      • hashCode

        public int hashCode()
        Description copied from interface: Errors
        Returns the hash code value for this Errors.
        Specified by:
        hashCode in interface Errors
        Overrides:
        hashCode in class Object
        Returns:
        the hash code value for this Errors