Saturday, November 28, 2009

Why, Sun, why?


If java.util.LinkedList has a toArray() method, why doesn't it have a fromArray() method?  The number of times I've needed to do this honestly does upgrade it from a method-I-should-have-write-myself-in-every-project to a this-is-completely-intuitive-and-easy-and-should-be-done-for-me level. 

... Besides, if Python has it, why can't Java?  :-P

No comments:

Post a Comment