title: How to compare two different list object in java?
body: <p>I have two class lists like <code>List&lt;Aclass&gt;</code> A1 and <code>List&lt;Bclass&gt;</code> b1 and both lists contain one field which is common. So by using this field I have to compare those two list? Please can anyone help me? Be ensure that those class lists are different.</p>