Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add API documentation for prettyDisplay methods #135

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

mitsuki31
Copy link
Owner

Overview

This pull request introduces comprehensive Javadoc documentation for the prettyDisplay methods, enhancing the clarity and usability of the API. The changes include detailed descriptions, parameter explanations, example outputs, and API notes for the prettyDisplay overloads.

Changes Made

API Documentation for prettyDisplay

  • Added detailed Javadoc comments for the following methods:
    • prettyDisplay()
    • prettyDisplay(boolean showIndices)
    • prettyDisplay(int index)
    • prettyDisplay(int index, boolean showIndices)
    • {static} prettyDisplay(double[][] arr)
    • {static} prettyDisplay(double[][] arr, boolean showIndices)
    • {static} prettyDisplay(double[][] arr, int index)
    • {static} prettyDisplay(double[][] arr, int index, boolean showIndices)
  • Descriptions include:
    • Explanation of method functionality.
    • Parameter definitions.
    • Example output formatting for both matrix display and index visibility.
    • Clarification on edge case handling, such as null or empty matrices and arrays.
  • Added an API note for the alias methods to ensure consistency.

Benefits

  • Improves the readability and usability of the prettyDisplay methods.
  • Helps developers understand the usage and output formatting options.
  • Ensures a consistent documentation style across the codebase.
  • The changes also include updates to suppress warnings during compiling sources and generating Javadocs, ensuring a cleaner build process with linter support.

This API documentation addition includes detailed description and parameters, example usages along with the expected output, and an API note for alias methods.

This change also suppress warnings during compiling sources or generating Javadoc with linter enabled.
@mitsuki31 mitsuki31 added documentation Improvements or additions to documentation lang:java Some changes on Java code patch Patch update labels Sep 15, 2024
@mitsuki31 mitsuki31 self-assigned this Sep 15, 2024
@mitsuki31 mitsuki31 merged commit c58ef59 into master Sep 15, 2024
34 checks passed
@mitsuki31 mitsuki31 deleted the docs/add-docs-for-pretty-displayer-methods branch September 15, 2024 12:12
@mitsuki31 mitsuki31 added this to the v1.5.0 milestone Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation lang:java Some changes on Java code patch Patch update
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant