Tags
#bloch-effective-java-2ed #java #java-generics
Question
Term | Example |
---|
Parameterized type | List<String> |
Actual type parameter | String |
Generic type | List<E> |
Formal type parameter | E |
[...] | List<?> |
Raw type | List |
Bounded type parameter | <E extends Number> |
Recursive type bound | <T extends Comparable<T>> |
Bounded wildcard type | List<? extends Number> |
Generic method static | <E> List<E> asList(E[] a) |
Type token | String.class |
Answer
Unbounded wildcard type
Tags
#bloch-effective-java-2ed #java #java-generics
Question
Term | Example |
---|
Parameterized type | List<String> |
Actual type parameter | String |
Generic type | List<E> |
Formal type parameter | E |
[...] | List<?> |
Raw type | List |
Bounded type parameter | <E extends Number> |
Recursive type bound | <T extends Comparable<T>> |
Bounded wildcard type | List<? extends Number> |
Generic method static | <E> List<E> asList(E[] a) |
Type token | String.class |
Tags
#bloch-effective-java-2ed #java #java-generics
Question
Term | Example |
---|
Parameterized type | List<String> |
Actual type parameter | String |
Generic type | List<E> |
Formal type parameter | E |
[...] | List<?> |
Raw type | List |
Bounded type parameter | <E extends Number> |
Recursive type bound | <T extends Comparable<T>> |
Bounded wildcard type | List<? extends Number> |
Generic method static | <E> List<E> asList(E[] a) |
Type token | String.class |
Answer
Unbounded wildcard type
If you want to change selection, open document below and click on "Move attachment"
generics terms quick referenceTermExampleParameterized typeListActual type parameterStringGeneric typeListFormal type parameterEUnbounded wildcard typeListRaw typeListBounded type parameterRecursive type bound>Bounded wildcard typeListGeneric method static List asList(E[] a)Type tokenString.class Summary
status | not learned | | measured difficulty | 37% [default] | | last interval [days] | |
---|
repetition number in this series | 0 | | memorised on | | | scheduled repetition | |
---|
scheduled repetition interval | | | last repetition or drill | | | | |
---|
Details
No repetitions