I am a little confused as to what the second argument in Hose.doStuff (E e, Hose<E> e2) will accept.
In the example provided in this
thread, Hose is instantiated as:
Hose <Foo> h = new Hose <Foo>();
which makes me think that the second argument in doStuff will only take a Hose<Foo> as an argument, but we seem to be passing it a Foo<Bar>.
If someone could explain this, it would be most helpful.
Thanks,
-Matt