1. 3.15 NIOhistorical

    NIO organizes reads and writes around channels and buffers rather than BIO byte and character streams. These notes introduce usage through those components.

  2. Packet Protocolhistorical

    Application protocols must distinguish message boundaries in TCP data. These notes examine packet-protocol design through data examples and sticky-packet behavior.

  3. Pathhistorical

    Path represents a file-system path, with capabilities related to File. These notes use examples to record path creation and manipulation.

  4. NIO Serverhistorical

    Client and server code demonstrate Java NIO programming and how Channel, Buffer, and Selector cooperate on connections and data.

  5. enumhistorical

    Enum defines a set of named values implemented through Enum-related structures after compilation. These notes examine enumeration behavior through code.

  6. switchhistorical

    Switch selects a branch from an expression's value. These notes compare compiled implementations for integers, strings, and enums.

  7. transienthistorical

    Fields marked transient are excluded from default serialization and receive initial values after deserialization. These notes examine that behavior through examples.

  8. finalhistorical

    Final has different meanings on classes, methods, and variables. These notes record inheritance, overriding, and assignment restrictions.

  9. Cloneable and Object.clonehistorical

    Cloneable and Object.clone: It is a marker interface. An object that implements this interface can call Object.clone to copy the current object. What is copied here is the object's fields.

  10. 5.2 Integerhistorical

    Integer is immutable. These notes examine its structure and wrapper-type behavior through implementation details such as its final class.