类 DuplicationStrategyImpl

    • 构造器详细资料

      • DuplicationStrategyImpl

        public DuplicationStrategyImpl()
    • 方法详细资料

      • areMatch

        public boolean areMatch​(Object listener,
                                Object original)
        从接口复制的说明: DuplicationStrategy
        Are the two listener instances considered a duplication?
        指定者:
        areMatch 在接口中 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