new Factory(spec)
A factory for Lens-derived objects with customized container construction
- Source:
When POD container types (Object and Array) are not the desired types to construct in a clone -- as with use of immutable containers -- this class can be used to build lenses that do build the desired types of objects.
This class is often used in conjunction with a JsContainerFactory object implementing the container factory.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
spec |
Object |
Properties
|