JavaBeans Comparator/Diff [closed]
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 questionIs 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.
精彩评论