Created
January 25, 2023 20:08
-
-
Save akaliacius/b45f09b3d98beb897c960cb871c8158d to your computer and use it in GitHub Desktop.
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
static void eager(OurObject object){ | |
System.out.println("Eager thinks it didn't do anything"); | |
} | |
static void lazy(Supplier<OurObject> ourObjectSupplier){ | |
System.out.println("Lazy is sure it didn't do anything"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment