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 |
Unbounded wildcard type | List<?> |
Raw type | List |
Bounded type parameter | <E extends Number> |
Recursive type bound | <T extends Comparable<T>> |
[...] | List<? extends Number> |
Generic method static | <E> List<E> asList(E[] a) |
Type token | String.class |
Answer
Bounded 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 |
Unbounded wildcard type | List<?> |
Raw type | List |
Bounded type parameter | <E extends Number> |
Recursive type bound | <T extends Comparable<T>> |
[...] | 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 |
Unbounded wildcard type | List<?> |
Raw type | List |
Bounded type parameter | <E extends Number> |
Recursive type bound | <T extends Comparable<T>> |
[...] | List<? extends Number> |
Generic method static | <E> List<E> asList(E[] a) |
Type token | String.class |
Answer
Bounded 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