Unsafe downcasting of Object to Comparable type causes trouble
1372
How to create a generic array in Java?
19125
What is the advantage of using dynamic_cast instead of conventional polymorphism?
42612
Generics, arrays, and the ClassCastException
60308
Anyone know a good workaround for the lack of an enum generic constraint?
26674
Is there any way other than instanceof operator for object type comparison in java?
27990
Is there a generic type-constraint for "where NOT derived from"?
138823
Why cast null to Object?
152733
How to simplify a null-safe compareTo() implementation?
127599
Odd situation for "cannot reference this before supertype constructor has been called"
103
Is there a constraint that restricts my generic method to numeric types?
103586
Applying casts to the results of integer and floating point division: what's going on here?
31388
Why are arrays covariant but generics are invariant?
63080
Odd method call in java using a dot operator to access a generic list
122494
Comparison Method violates its general contract in Java 7
58916
Primitive type 'short' - casting in Java
60154
How do I address unchecked cast warnings?
41022
Why does the ternary operator unexpectedly cast integers?