Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New methods that are tested #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

BookerLoL
Copy link

No description provided.

Optional in Java 8 did not have `stream()` until Java 9, so allowing users to benefit from using Streams in a convenient fashion.

isNonNull is useful in case for some odd reason, both the provided data and supplied data truly do happen to be null and the user does not have to check `get() == null`

Added more flexibility in the `access` methods in regards to what types of Functions can actually be used.
Unit tests for new methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant