METHOD_0 ( ) { alluxio . client . block . policy . IDENT_0 policy = new alluxio . client . block . policy . METHOD_1 ( STRING_0 ) ; java . util . List < alluxio . client . block . IDENT_1 > IDENT_2 = new java . util . ArrayList ( ) ; IDENT_2 . add ( new alluxio . client . block . METHOD_2 ( new alluxio . IDENT_3 . METHOD_3 ( ) . METHOD_4 ( STRING_1 ) . METHOD_5 ( alluxio . client . block . policy . IDENT_4 . IDENT_5 ) . METHOD_6 ( alluxio . client . block . policy . IDENT_4 . IDENT_5 ) . METHOD_7 ( alluxio . client . block . policy . IDENT_4 . IDENT_5 ) , alluxio . Constants . IDENT_6 , 0 ) ) ; IDENT_2 . add ( new alluxio . client . block . METHOD_2 ( new alluxio . IDENT_3 . METHOD_3 ( ) . METHOD_4 ( STRING_2 ) . METHOD_5 ( alluxio . client . block . policy . IDENT_4 . IDENT_5 ) . METHOD_6 ( alluxio . client . block . policy . IDENT_4 . IDENT_5 ) . METHOD_7 ( alluxio . client . block . policy . IDENT_4 . IDENT_5 ) , alluxio . Constants . IDENT_6 , 0 ) ) ; alluxio . client . block . policy . options . IDENT_7 options = alluxio . client . block . policy . options . IDENT_7 . METHOD_8 ( ) . METHOD_9 ( IDENT_2 ) . METHOD_10 ( new alluxio . IDENT_3 . METHOD_11 ( ) . METHOD_12 ( ( 2 * ( ( long ) ( alluxio . Constants . IDENT_6 ) ) ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_13 ( alluxio . client . block . policy . options . IDENT_7 ) { java . util . Set < alluxio . IDENT_3 . METHOD_3 > IDENT_8 = new java . util . HashSet ( ) ; for ( alluxio . client . block . METHOD_2 info : options . METHOD_14 ( ) ) { IDENT_8 . add ( info . METHOD_15 ( ) ) ; } alluxio . IDENT_3 . METHOD_3 address = IDENT_9 . get ( options . METHOD_16 ( ) . METHOD_17 ( ) ) ; if ( ( address != null ) && ( IDENT_8 . contains ( address ) ) ) { return address ; } else { address = null ; } if ( ! ( IDENT_10 ) ) { IDENT_11 = com . google . common . collect . Lists . newArrayList ( options . METHOD_14 ( ) ) ; java . util . Collections . METHOD_18 ( IDENT_11 ) ; IDENT_12 = 0 ; IDENT_10 = true ; } for ( int i = 0 ; i < ( IDENT_11 . size ( ) ) ; i ++ ) { alluxio . IDENT_3 . METHOD_3 IDENT_13 = IDENT_11 . get ( IDENT_12 ) . METHOD_15 ( ) ; alluxio . client . block . METHOD_2 IDENT_14 = METHOD_19 ( options . METHOD_14 ( ) , IDENT_13 ) ; IDENT_12 = ( ( IDENT_12 ) + 1 ) OP_0 ( IDENT_11 . size ( ) ) ; if ( ( ( IDENT_14 != null ) && ( ( IDENT_14 . METHOD_20 ( ) ) >= ( options . METHOD_16 ( ) . METHOD_21 ( ) ) ) ) && ( IDENT_8 . contains ( IDENT_13 ) ) ) { address = IDENT_13 ; break ; } } IDENT_9 . put ( options . METHOD_16 ( ) . METHOD_17 ( ) , address ) ; return address ; }
org . junit . Assert . assertNull ( policy . METHOD_13 ( options ) )