There are three kinds of actuaries: those who can count, and those who can't.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Piet Souris wrote:edit:
found the solution. I must use
Never too old to learn.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
There are three kinds of actuaries: those who can count, and those who can't.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Piet Souris wrote:And what I do not fully understand is that in the first method I can use "map.get(s)", while I need to do a cast to (S) in the helper method.
Piet Souris wrote:Thanks for the responses, guys!
@Rob,
problem with "? extends Collection<T>"is that I need to do a map.get(t) somewhere, and there I need to specify some type.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
There are three kinds of actuaries: those who can count, and those who can't.
Friends help you move. Good friends help you move bodies. This tiny ad will help:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
|