switch for Object

Ulf Zibis Ulf.Zibis at gmx.de
Sun May 29 05:04:50 PDT 2011


Hi Andriy and Anonymous (isn't it a little inpolite?),

see "Extend switch .. case statement for all types and simple expressions (update)" in this thread. 
Starting points:
- 31.03.2009 - 00:13 CET
- 28.05.2009 - 16:40 CET

-Ulf


Am 29.05.2011 13:01, schrieb Andriy Gerasika:
> On 05/29/2011 11:41 AM, a d wrote:
>> One of the areas that is being changed that I can't stop thinking about is the switch for String, and was wondering why just for String?
>> Why not add a switch for all Objects that implement java.lang.Comparable<T>   or java.util.Comparator<T>   to make easier to use the switch operator?
> How will it make code easier to read?
>
>



More information about the coin-dev mailing list