public double METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_1 . equals ( VAR_2 ) ) { if ( VAR_3 . isEmpty ( ) ) { return 0.0 ; } return VAR_3 . get ( ( ( VAR_3 . size ( ) ) - 1 ) ) . METHOD_2 ( VAR_1 ) ; } return ( VAR_4 [ VAR_1 . id ( ) ] ) / ( VAR_3 . size ( ) ) ; }

public double METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_1 . equals ( VAR_2 ) ) { if ( VAR_3 . isEmpty ( ) ) { return 0.0 ; } return VAR_3 . get ( 0 ) . METHOD_2 ( VAR_1 ) ; } return ( VAR_4 [ VAR_1 . id ( ) ] ) / ( VAR_3 . size ( ) ) ; }
