开发者

JavaBeans Comparator/Diff [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

开发者_开发知识库 Improve this question

Is there a library that can compare two javabeans by their properties and tell you the differences between them?

I was thinking this would be something BeanUtils will do but can't find it in the documentation

Basically I want to 'diff' them


No, there is no library for this, because it is trivial to implement. Just use the code from the link that artbristol provided in the comment.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜