The Method Is Ambiguous For The Type Java