METHOD_0 ( ) { org . IDENT_0 . api . transform . schema . Schema schema = new org . IDENT_0 . api . transform . schema . Schema . Builder ( ) . METHOD_1 ( STRING_0 ) . METHOD_2 ( STRING_1 ) . METHOD_3 ( STRING_2 ) . build ( ) ; org . IDENT_0 . api . transform . schema . Schema IDENT_1 = new org . IDENT_0 . api . transform . schema . Schema . Builder ( ) . METHOD_1 ( STRING_0 ) . METHOD_1 ( STRING_1 ) . METHOD_3 ( STRING_2 ) . build ( ) ; java . lang . String IDENT_2 = STRING_3 ; org . IDENT_0 . api . transform . IDENT_3 IDENT_4 = new org . IDENT_0 . api . transform . IDENT_3 . Builder ( schema ) . transform ( new org . IDENT_0 . IDENT_5 . METHOD_4 ( IDENT_2 , IDENT_1 ) ) . build ( ) ; org . IDENT_0 . spark . transform . List < org . IDENT_0 . spark . transform . List < org . IDENT_0 . api . IDENT_6 . IDENT_7 > > IDENT_8 = new org . IDENT_0 . spark . transform . ArrayList ( ) ; IDENT_8 . add ( org . IDENT_0 . spark . transform . Arrays . < org . IDENT_0 . api . IDENT_6 . IDENT_7 > asList ( new org . IDENT_0 . api . IDENT_6 . METHOD_5 ( 0 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_6 ( STRING_4 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_7 ( FLOAT_0 ) ) ) ; IDENT_8 . add ( org . IDENT_0 . spark . transform . Arrays . < org . IDENT_0 . api . IDENT_6 . IDENT_7 > asList ( new org . IDENT_0 . api . IDENT_6 . METHOD_5 ( 1 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_6 ( STRING_5 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_7 ( FLOAT_1 ) ) ) ; IDENT_8 . add ( org . IDENT_0 . spark . transform . Arrays . < org . IDENT_0 . api . IDENT_6 . IDENT_7 > asList ( new org . IDENT_0 . api . IDENT_6 . METHOD_5 ( 2 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_6 ( STRING_6 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_7 ( FLOAT_2 ) ) ) ; org . apache . spark . api . java . IDENT_9 < org . IDENT_0 . spark . transform . List < org . IDENT_0 . api . IDENT_6 . IDENT_7 > > IDENT_10 = IDENT_11 . METHOD_8 ( IDENT_8 ) ; org . IDENT_0 . spark . transform . List < org . IDENT_0 . spark . transform . List < org . IDENT_0 . api . IDENT_6 . IDENT_7 > > out = new org . IDENT_0 . spark . transform . ArrayList ( org . IDENT_0 . spark . transform . IDENT_12 . execute ( IDENT_10 , IDENT_4 ) . collect ( ) ) ; org . IDENT_0 . spark . transform . Collections . METHOD_9 ( out , new org . IDENT_0 . spark . transform . IDENT_13 < org . IDENT_0 . spark . transform . List < org . IDENT_0 . api . IDENT_6 . IDENT_7 > > ( ) { @ org . IDENT_0 . spark . transform . Override public int compare ( org . IDENT_0 . spark . transform . List < org . IDENT_0 . api . IDENT_6 . IDENT_7 > IDENT_14 , org . IDENT_0 . spark . transform . List < org . IDENT_0 . api . IDENT_6 . IDENT_7 > IDENT_15 ) { return java . lang . Integer . compare ( IDENT_14 . get ( 0 ) . METHOD_10 ( ) , IDENT_15 . get ( 0 ) . METHOD_10 ( ) ) ; } } ) ; org . IDENT_0 . spark . transform . List < org . IDENT_0 . spark . transform . List < org . IDENT_0 . api . IDENT_6 . IDENT_7 > > expected = new org . IDENT_0 . spark . transform . ArrayList ( ) ; expected . add ( org . IDENT_0 . spark . transform . Arrays . < org . IDENT_0 . api . IDENT_6 . IDENT_7 > asList ( new org . IDENT_0 . api . IDENT_6 . METHOD_5 ( 0 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_5 ( 2 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_7 ( FLOAT_3 ) ) ) ; expected . add ( org . IDENT_0 . spark . transform . Arrays . < org . IDENT_0 . api . IDENT_6 . IDENT_7 > asList ( new org . IDENT_0 . api . IDENT_6 . METHOD_5 ( 1 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_5 ( 1 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_7 ( FLOAT_4 ) ) ) ; expected . add ( org . IDENT_0 . spark . transform . Arrays . < org . IDENT_0 . api . IDENT_6 . IDENT_7 > asList ( new org . IDENT_0 . api . IDENT_6 . METHOD_5 ( 2 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_5 ( 0 ) , new org . IDENT_0 . api . IDENT_6 . METHOD_7 ( FLOAT_5 ) ) ) ; "<AssertPlaceHolder>" ; } add ( T extends org . nd4j . IDENT_16 . IDENT_17 . IDENT_18 , T extends org . nd4j . IDENT_16 . IDENT_17 . IDENT_18 , int ) { if ( IDENT_19 . containsKey ( actual ) ) { IDENT_19 . get ( actual ) . add ( IDENT_20 , count ) ; } else { com . google . common . collect . IDENT_21 < T > IDENT_22 = com . google . common . collect . IDENT_23 . create ( ) ; IDENT_22 . add ( IDENT_20 , count ) ; IDENT_19 . put ( actual , IDENT_22 ) ; } }
org . junit . Assert . assertEquals ( expected , out )