Bean b1=new Bean ("1111", "test1", "data 1");
Bean b2=new Bean ("test1", "test2", "data 2");
Bean b3=new Bean ("test2", "test3", "data 3");
Bean b4=new Bean ("test5", "test6", "data 4");
Bean b5=new Bean ("test6", "test7", "data 5");
Bean b6=new Bean ("test3", "test4", "data 6");
Bean b7=new Bean ("test4", "test5", "data 7");
the second attribute of the previous bean is the first attribute value of the latter Bean
how to compose this List set into a new set according to b1 b2 b3 b6 b7 b4 b5-sharp-sharp-sharp problem description