|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.townleyenterprises.common.UseLastOverrideStrategy
This class implements the strategy that the second supplier (e.g. the newest or latest) always overrides the first or previous supplier.
| Constructor Summary | |
UseLastOverrideStrategy()
|
|
| Method Summary | |
java.lang.Object |
resolve(java.lang.Object key,
java.lang.Object s1,
java.lang.Object s2)
This method is used to determine the relationship between the two suppliers of a given key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UseLastOverrideStrategy()
| Method Detail |
public java.lang.Object resolve(java.lang.Object key,
java.lang.Object s1,
java.lang.Object s2)
OverrideStrategy
resolve in interface OverrideStrategykey - the keys1 - the first suppliers2 - the second supplier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||