Hi Mario Garcia,

Groovy already has Map coercion feature with which the methods of any class
can be delegated to the closures in Map. This uses `as` keyword.

If we implement `asType(Class)` in `ConfigObject` (ConfigObject already
implements Map), some of the functionalities of existing coercion may be
affected. I am not sure !

If we implement 'getAs(Class)`, existing coercion will be unaffected. So, I
will prefer `getAs(Class)` first.

Note : Any ways, while testing, I will test these behaviors...

Pls advice



--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Reply via email to