mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 15:18:01 +00:00
Add Open JavaDocs as a clojure til.
This commit is contained in:
@@ -11,6 +11,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
||||
|
||||
- [Evaluate One Liners With lein-exec](clojure/evaluate-one-liners-with-lein-exec.md)
|
||||
- [Expanding Macros](clojure/expanding-macros.md)
|
||||
- [Open JavaDocs](clojure/open-javadocs.md)
|
||||
- [Quick Clojure Docs](clojure/quick-clojure-docs.md)
|
||||
- [Specify the Directory of a Shell Command](clojure/specify-the-directory-of-a-shell-command.md)
|
||||
- [Splitting On Whitespace](clojure/splitting-on-whitespace.md)
|
||||
|
||||
17
clojure/open-javadocs.md
Normal file
17
clojure/open-javadocs.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Open JavaDocs
|
||||
|
||||
Clojure has all kinds of Java interop including a fancy function called
|
||||
`javadoc`. The `javadoc` function _opens a browser window displaying the
|
||||
javadoc for the argument_.
|
||||
|
||||
Thinking about using Java's `ArrayList` class, but want to read up on it
|
||||
first? Try
|
||||
|
||||
```
|
||||
> (javadoc java.util.ArrayList)
|
||||
true
|
||||
```
|
||||
|
||||
The javadoc page for
|
||||
[ArrayList](http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html)
|
||||
will be opened up in your default browser.
|
||||
Reference in New Issue
Block a user