public boolean METHOD_1 ( TYPE_1 [ ] [ ] VAR_1 , TYPE_2 p , int VAR_2 , int VAR_3 ) { int count = 0 ; for ( TYPE_2 n : METHOD_2 ( p . x , p . y ) ) if ( ( VAR_1 [ n . y ] [ n . x ] . VAR_4 ) == VAR_2 ) count ++ ; return count <= VAR_3 ; }

public boolean METHOD_1 ( TYPE_1 [ ] [ ] VAR_1 , TYPE_2 p , int VAR_2 , int VAR_3 ) { int count = 0 ; for ( TYPE_2 n : METHOD_2 ( p . x , p . y ) ) if ( ( VAR_1 [ n . y ] [ n . x ] . VAR_4 ) == VAR_2 ) count ++ ; if ( VAR_3 >= 0 ) return count <= VAR_3 ; else return count > ( java.lang.Math.abs ( VAR_3 ) ) ; }
