// Wildcard type for parameter that serves as an E producer - produces Es onto a Stack from external Iterable
public void pushAll(Iterable<...> src) {
for (E e : src)
push(e);
}
what kind of bounded wildcard do we need here for Iterable (producer)?
// Wildcard type for parameter that serves as an E producer - produces Es onto a Stack from external Iterable
public void pushAll(Iterable<...> src) {
for (E e : src)
push(e);
}
what kind of bounded wildcard do we need here for Iterable (producer)?
// Wildcard type for parameter that serves as an E producer - produces Es onto a Stack from external Iterable
public void pushAll(Iterable<...> src) {
for (E e : src)
push(e);
}
what kind of bounded wildcard do we need here for Iterable (producer)?| 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 |