/**
* This is the same as in the original java beans implementation with the exception that changes from null to null
* are not reported as property change events!
*
* @see java.beans.PropertyChangeSupport#fireIndexedPropertyChange(java.lang.String, int, java.lang.Object,
* java.lang.Object)
*/
public void fireIndexedPropertyChange(final String propertyName, final int index, final Object oldValue,
final Object newValue) {
final PropertyChangeSupport ref = lazyGetPropertyChangeSupport(false);
if (ref != null && (!Objects.equalsProperty(oldValue, newValue)
|| !equalsPropertyChangeListeners(oldValue, newValue))) {
final IndexedPropertyChangeEvent event = new IndexedPropertyChangeEvent(this, propertyName, oldValue,
newValue, index);
fireEvent(ref, propertyName, event);
}
}
APropertyChangeSupported.java 文件源码
java
阅读 18
收藏 0
点赞 0
评论 0
项目:invesdwin-util
作者:
评论列表
文章目录