This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Probably you read wrong API documentation, in Java 1.2 & 1.4 Double had only one valueOf(String) method,
but starting from Java 5 Double class has two valueOf methods.
When you use google to find API docs, always add "Java 6" as keyword.