-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve code readability and debug visibility in multiple classes
In `UsePerson.java` and `RandomDemo.java`, print statements were added to provide more visibility during debug. In `FlatMapDemo.java`, replaced `size() == 0` with `isEmpty()` for checking empty collections, improving code readability and performance. Added a new generator in `RandomDemo.java`, showing usage of the `DoubleStream` with the `Math::random` method.
- Loading branch information
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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