Skip to content

Commit

Permalink
remove hanging
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Dec 18, 2023
1 parent 272b344 commit 44f26cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions content/reference/java_interop.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ String
(.getEnclosingClass java.util.Map$Entry)
-> java.util.Map
(.getComponentType String*)
java.lang.String
-> java.lang.String
----

== Member access
Expand Down Expand Up @@ -91,8 +91,6 @@ If the second operand is a symbol and no args are supplied it is taken to be a f

If the second operand is a list, or args are supplied, it is taken to be a method call. The first element of the list must be a simple symbol, and the name of the method is the name of the symbol. The args, if any, are evaluated from left to right, and passed to the matching method, which is called, and its value returned. If the method has a void return type, the value of the expression will be _**nil**_. Note that placing the method name in a list with any args is optional in the canonic form, but can be useful to gather args in macros built upon the form.

Since Clojure 1.12,

Note that boolean return values will be turned into Booleans, chars will become Characters, and numeric primitives will become Numbers unless they are immediately consumed by a method taking a primitive.

The member access forms given at the top of this section are preferred for use in all cases other than in macros.
Expand Down

0 comments on commit 44f26cc

Please sign in to comment.