Class AbstractPropertyState

    • Constructor Detail

      • AbstractPropertyState

        public AbstractPropertyState()
    • Method Detail

      • equal

        public static boolean equal​(PropertyState a,
                                    PropertyState b)
        Checks whether the given two property states are equal. They are considered equal if their names and types match, they have an equal number of values, and each of the values is equal with the corresponding value in the other property.
        a - first property state
        b - second property state
        true if the properties are equal, false otherwise
      • hashCode

        public static int hashCode​(PropertyState property)
      • equals

        public boolean equals​(Object other)
        Checks whether the given object is equal to this one. See the equal(PropertyState, PropertyState) method for the definition of property state equality. Subclasses may override this method with a more efficient equality check if one is available.
        equals in class Object
        other - target of the comparison
        true if the objects are equal, false otherwise
      • hashCode

        public int hashCode()
        Returns a hash code that's compatible with how the equals(Object) method is implemented. The current implementation simply returns the hash code of the property name since PropertyState instances are not intended for use as hash keys.
        hashCode in class Object
        hash code