|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DuplicationStrategy
Defines listener duplication checking strategy, both in terms of when a duplication is detected (see
areMatch(java.lang.Object, java.lang.Object)
) as well as how to handle a duplication (see getAction()
).
Nested Class Summary | |
---|---|
static class |
DuplicationStrategy.Action
The enumerated list of actions available on duplication match |
Method Summary | |
---|---|
boolean |
areMatch(Object listener,
Object original)
Are the two listener instances considered a duplication? |
DuplicationStrategy.Action |
getAction()
How should a duplication be handled? |
Method Detail |
---|
boolean areMatch(Object listener, Object original)
listener
- The listener we are currently trying to registeroriginal
- An already registered listener
DuplicationStrategy.Action getAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |