A straightforward wrapper of common java.nio.file.* functionality. All functions use the Pathish protocol to turn their arguments into Paths.
A straightforward wrapper of common java.nio.file.* functionality. All functions use the Pathish protocol to turn their arguments into Paths.
Support for using Clojure functions in Java APIs requiring a SAM (Single Abstrace Method) interface.
Currently uses java.lang.invoke.MethodHandleProxies to convert an method handle to a SAM type. The method handle generated for the IFn will translate to something akin to the below (using method handle notation for signatures):
(-> SAM call (Object...)Object[] RT.seq(Object[])ISeq IFN.applyTo(ISeq)Object)
This is not intended to be highly performant, but, as it has not been benchmarked, may or may not be. It is mainly intended to provide a more convenient interop with Java APIs that take SAM arguments.
Support for using Clojure functions in Java APIs requiring
a SAM (Single Abstrace Method) interface.
Currently uses java.lang.invoke.MethodHandleProxies to
convert an method handle to a SAM type. The method handle
generated for the IFn will translate to something akin to
the below (using method handle notation for signatures):
(-> SAM call
(Object...)Object[]
RT.seq(Object[])ISeq
IFN.applyTo(ISeq)Object)
This is not intended to be highly performant, but, as it
has not been benchmarked, may or may not be. It is mainly
intended to provide a more convenient interop with Java
APIs that take SAM arguments.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |