Generics & Collections
Type parameters, and why a List of Object is not a List of String.
0 of 21 answered
Start here
Checking membership
Foundation
- Not triedChecking membershipFoundation
- Not triedHash map or tree mapFoundation
- Not triedWhat generics preventFoundation
- Not triedWhich list to useFoundation
- Not triedWhy iteration is an interfaceFoundation
- Not triedA collection nobody can changeCore
- Not triedAccepting anything that can be comparedCore
- Not triedChoosing the collection by the operationCore
- Not triedConstraining a type parameterCore
- Not triedDropping the type argumentCore
- Not triedPicking the right queueCore
- Not triedRemoving while iteratingCore
- Not triedWhere the type parameter goesCore
- Not triedA list of dogs is not a list of animalsChallenge
- Not triedKeeping the type at runtimepart of A repository that compiles and still breaksChallenge
- Not triedOverriding one and not the otherChallenge
- Not triedProducer extends, consumer superChallenge
- Not triedWhat survives to runtimeChallenge
- Not triedWhere the exception actually appearspart of A repository that compiles and still breaksChallenge
- Not triedWhere the type wentpart of A repository that compiles and still breaksChallenge
- Not triedWhy List of String is not a List of ObjectChallenge