checkEqualsProperties

@Contract(value = "null, !null -> false")
open fun <T, P : Property<T>?> checkEqualsProperties(@Nullable prop1: P, @Nullable prop2: P): Boolean

The method is useful to implement comparisons of properties in equals method.

Return

true if the objects are both null or equal, false otherwise

Parameters

prop1

the comparing object

prop2

the other object

<T>

the object type wrapped by the JavaFX Property

<P>

the JavaFX Property