Skip to content

Instantly share code, notes, and snippets.

@Raouf25
Last active April 3, 2020 11:09
Show Gist options
  • Save Raouf25/027c93ae4d5a362538a8f42fce30e916 to your computer and use it in GitHub Desktop.
Save Raouf25/027c93ae4d5a362538a8f42fce30e916 to your computer and use it in GitHub Desktop.
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();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment