Browse Part III: Deep Dive into Clojure

10.7 Data Type Conversion Between Java and Clojure

In this section

  • 10.7.1 Primitive Types and Wrappers
    Explore how Clojure manages Java primitive types and their wrappers with boxing and unboxing techniques for seamless type usage.
  • 10.7.2 Working with Java Collections
    Explore data type conversion between Java and Clojure collections, featuring essential utility functions and methods for seamless interoperability.
  • Handling Arrays
    Master working with Java arrays in Clojure, including creation, access, and modification using functions like `make-array`, `to-array`, and `aget`.
  • 10.7.4 Dealing with `null` Values
    Learn how Clojure represents Java's `null` as `nil`, potential pitfalls, and strategies for safely handling `nil` in your Clojure code.
Saturday, October 5, 2024