Metadata-Version: 2.4
Name: method-emitter
Version: 0.1.0
Summary: Prints Java data structure method snippets from one public function.
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# method-emitter

method-emitter has one public function: emit_code(). Calling it prints the Java queue and stack method snippets transcribed from the supplied handout.

## Install

    python -m pip install method-emitter

## Use

    from method_emitter import emit_code
    emit_code()

The snippets expect to be placed inside their corresponding generic linked queue or stack classes. The queue code uses QueueNode, frontLink, and rearLink; the stack code uses StackNode and topLink. The removeAll and countOccurrences methods call Objects.equals, so the containing Java source needs import java.util.Objects.
