abstract fun <T : Any> setProperty(elementType: Class<T>): SetProperty<T>
Creates a SetProperty implementation to hold a Set of the given element type. The property with have an empty set as its initial value.
The implementation will return immutable Set values from its query methods.
elementType
- The type of element.
Return
The property. Never returns null;
Since
4.5