switch for Object

Andriy Gerasika andriy.gerasika at gmail.com
Sun May 29 04:01:01 PDT 2011


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