Created
December 12, 2021 04:50
-
-
Save bbarker/71fb1d6eb918b11d31373d09241696e4 to your computer and use it in GitHub Desktop.
do something with its members
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
println(beanList3.map(_.getTheA)) | |
beanList3.foreach{bean => | |
bean.setTheA(bean.getTheA+1) | |
} | |
println(beanList3.map(_.getTheA)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment