Submission: switch (...) instanceof feature

howard.lovatt at gmail.com howard.lovatt at gmail.com
Sun May 3 22:36:58 PDT 2009


I agree with the comments that if ( bar instanceof Foo ) { ... } with bar  
treated as a Foo inside the braces would be very useful, eg equals methods.  
Similarly if ( bar.getClass() == Foo ) { ... }.

-- Howard.



More information about the coin-dev mailing list