|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IInconsistencyResolver<T>
A method for resolving inconsistent object values into a single value. Applications can implement this to provide a method for reconciling conflicts that cannot be resolved simply by the version information.
| Method Summary | |
|---|---|
java.util.List<T> |
resolveConflicts(java.util.List<T> items)
Take two different versions of an object and combine them into a single version of the object Implementations must maintain the contract that resolveConflict([null, null]) == null
if t != null, then
resolveConflict([null, t]) == resolveConflict([t, null]) == t |
| Method Detail |
|---|
java.util.List<T> resolveConflicts(java.util.List<T> items)
resolveConflict([null, null]) == nullt != null, then
resolveConflict([null, t]) == resolveConflict([t, null]) == t
items - The items to be resolved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||