Class GenericPairComparator<T1,​T2>

    • Method Detail

      • equalToReference

        public boolean equalToReference​(T2 candidate)
        Description copied from class: TypePairComparator
        Checks, whether the given candidate instance is equal to the reference instance, with respect to this comparator's equality definition.
        Specified by:
        equalToReference in class TypePairComparator<T1,​T2>
        Parameters:
        candidate - The candidate to check.
        Returns:
        True, if the candidate is equal to the reference, false otherwise.