Interface FieldsComparable

    • Method Detail

      • getFieldValues

        Object[] getFieldValues()
        A list of the fields that define the identity of this class. These fields can be used to compare if instances of a class are equal, or to generate a hash code for it.

        Have in mind not exposing fields of class Pattern, for example, that only check for reference equality (If that is not the desired behaviour).