Why doesn't for-each method in java not throw an exception when a Function type argument is passed instead of Consumer?

NoSuchKey

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=90187&siteId=1