Ralf Bokelberg wrote:
> You can do it like this
> 
> switch( true){
>      case (model instanceof DivideSentenceStep1):
>               //...
>      case (model instanceof DivideSentenceStep2):
>               //...
>      default:
>               //...           
> }

That is very clever.

j


-- 
Jos Yule
Digital Hyakugei

"Machines take me by surprise with great frequency."
- Alan Turing

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to