Computer scienceProgramming languagesKotlinObject-oriented programmingObject-oriented programming features

Standard delegates

Description

Report a typo

Match each standard delegated property with the correct description.

Match the items from left and right columns
Lazy properties
Observable properties
Vetoable properties
NotNull properties
Storing properties in a map
Listeners are notified about changes to this property.
A property delegate for a non-null property that must be initialized before it is accessed.
Instead of using a separate field for each property, properties can be stored in a map.
The value is computed only during the first access.
Allow a lambda function to decide if a new value should be accepted or rejected.

Create a free account to access the full topic