function | function signature | call |
---|---|---|
Getters | Function<City, String> fun = City::getName; | fun.apply(); |
Setters | BiConsumer<City, String> fun = City::setName; | fun.accept(); |
Default Constructor | Supplier< City> fun = City::new; | fun.get(); |
Parameter Constructors | BiFunction<City, String, String> fun =City::new; | fun.apply(); |
Last active
April 3, 2020 11:09
-
-
Save Raouf25/027c93ae4d5a362538a8f42fce30e916 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment