結果 : java method parameter one of two types