METHOD_0 ( ) { java . util . List < org . baeldung . IDENT_0 . IDENT_1 . Person > IDENT_2 = java . util . Arrays . asList ( new org . baeldung . IDENT_0 . IDENT_1 . Person ( STRING_0 , 10 ) , new org . baeldung . IDENT_0 . IDENT_1 . Person ( STRING_1 , 3 ) ) ; com . google . common . collect . IDENT_3 < org . baeldung . IDENT_0 . IDENT_1 . Person > IDENT_4 = new com . google . common . collect . IDENT_3 < org . baeldung . IDENT_0 . IDENT_1 . Person > ( ) { @ org . baeldung . IDENT_0 . Override public int compare ( org . baeldung . IDENT_0 . IDENT_1 . Person IDENT_5 , org . baeldung . IDENT_0 . IDENT_1 . Person IDENT_6 ) { return com . google . common . IDENT_7 . IDENT_8 . compare ( IDENT_5 . IDENT_9 , IDENT_6 . IDENT_9 ) ; } } ; IDENT_2 . METHOD_1 ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { char [ ] IDENT_10 = com . baeldung . string . IDENT_11 . IDENT_12 . METHOD_2 ( text ) . METHOD_3 ( ) ; java . util . Arrays . METHOD_1 ( IDENT_10 ) ; return new java . lang . String ( IDENT_10 ) ; }
org . junit . Assert . assertEquals ( java . util . Arrays . asList ( new org . baeldung . IDENT_0 . IDENT_1 . Person ( STRING_1 , 3 ) , new org . baeldung . IDENT_0 . IDENT_1 . Person ( STRING_0 , 10 ) ) , IDENT_2 )