How to solve incompatible types: incompatible parameter types in lambda expression?

后端 未结 0 1813
孤城傲影
孤城傲影 2021-01-01 21:36

First, the code. He\'s very short:

.forEach((k,v) -> {v != 1 ? k=k + "s" : k=k;})

Problem:

I want to perform an action fo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题