Notice that the model and not the model object needs to implement the {@link #equals(Object)} and {@link #hashCode()} methods. Most of the time it is a good idea toforward the calls to the object, however if a detachable model is used it is often enough to compare an identifier for the object the models are pointing to ( this saves the model from loading the object). @author Igor Vaynberg (ivaynberg)
|
|
|
|
|
|
|
|
|
|