Class DuplicationStrategyImpl

    • Constructor Detail

      • DuplicationStrategyImpl

        public DuplicationStrategyImpl()
    • Method Detail

      • areMatch

        public boolean areMatch​(Object listener,
                                Object original)
        Description copied from interface: DuplicationStrategy
        Are the two listener instances considered a duplication?
        Specified by:
        areMatch in interface DuplicationStrategy
        listener - The listener we are currently trying to register
        original - An already registered listener
        true if the two instances are considered a duplication; false otherwise