public class BeanComparator extends Object
| Constructor and Description |
|---|
BeanComparator() |
| Modifier and Type | Method and Description |
|---|---|
BaseBean |
compareBean(String beanName,
BaseBean curBean,
BaseBean newBean)
Default comparison implementation for comparing two beans.
|
Object |
compareProperty(String propertyName,
BaseBean curBean,
Object curValue,
int curIndex,
BaseBean newBean,
Object newValue,
int newIndex)
Default comparison implementation for comparing two property values.
|
static void |
enableComparatorsKey(boolean b) |
void |
enableKey(boolean b) |
protected boolean |
hasKey() |
public BaseBean compareBean(String beanName, BaseBean curBean, BaseBean newBean)
public Object compareProperty(String propertyName, BaseBean curBean, Object curValue, int curIndex, BaseBean newBean, Object newValue, int newIndex)
protected boolean hasKey()
public void enableKey(boolean b)
public static void enableComparatorsKey(boolean b)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.