Does that mean I can make the Mixin impl methods final??

On 6/7/10, Rickard Öberg <[email protected]> wrote:
> On 2010-06-04 19.46, Stanislav Muhametsin wrote:
>> That would be simplest and uniform way, yes. However, sometimes it would
>> be useful to provide the programmer with the clear way to bypass the
>> possibly performance-costly mixin invocation (in cases of recursion /
>> something else). One way to do this would be to make private aliases of
>> public methods, however this would work only for mixins which implement
>> all the methods of the interface(s).
>
> Yeah, the best way to do this is to make the method non-public, which
> will cause the call to be direct.
>
> /Rickard
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>


-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to