I use Google a lot to look for Java documentation.
Example: If I want to find documentation for HashMap
, I just google Java hashmap
and Google knows to redirect me to the javadoc
page.
However, it usually directs me to Java 1.4 or Java5 documentation, and I want Java6 documentation.
If I google Java 6 hashmap
, it works fine; the problem is I keep forgetting to put 6
and have to search twice.
Can I teach Google somehow that when I say Java
, I mean Java6
? (I have a Google account, so if it is somehow configurable via an account, I'm open for suggestions.)
hashmap site:download.oracle.com/javase/6/docs
as replacement instead.http://search.oracle.com/search/search?search_p_main_operator=all&group=Documentation&q=%s+url%3A%2Fjavase%2F6%2Fdocs%2Fapi
where%s
is replaced by the keyword. For example,hashmap
.