A
Andreas Leitgeb
Ok, it was a too wide stretch for me from people boastingly wearingLew said:No, I meant "sport", not a typo, not an idiom but a literal meaning.
<http://www.merriam-webster.com/dictionary/sport[1]>
Transitive verb meaning 1.
something like shoes to a class having been defined with some methods.
So "support" appeared to me more apt and more likely meant.
I follow him with respect to APIs (designing methods to be calledWhy do you disregard Occam's razor?
by others). And there it means: "use just List unless you really
need something more specific". That doesn't in any way affect
which List implementing class I actually instanciate: Vector
or the (unknown) class returned by synchronizedList().
Their docs do not contain that string "obsolete".The point is that Vector and Hashtable are obsolete,
....nor cared about... (after Hotspot had its turn, it'shave extraneous weight that isn't needed
all machine code, and perhaps even the same pairwise
for all those methods callable through List interface)
It was actively fitted into it. The Java guys put some effortand doesn't fit into the Collections framework,
into doing that.
No one here tries to *bend* innocent lists ;-)and isn't as flexible as the more modern alternatives.
I think you still owe me an example of what I can do after
List<Foo> lf= Collections.synchronizedList(new ArrayList());
which I cannot do after
List<Foo> lf= new Vector();
to support your flexibility claim.