Skip to content

[Improvement] [Java] Cleaner approach to using enums #989

@narangvivek10

Description

@narangvivek10

Currently, the Java Panama API based layer in the Java API uses integer values for actual enum options, which makes the code less readable. This task is to replace this approach with using enum options instead.

Also, currently, we maintain Java enums for certain enums in the C layer, for example cuvsCagraGraphBuildAlgo in the C layer has a Java enum. This in its current form, involves manual intervention, especially when enums in the C layer change and so this needs a better approach.

Assigning this task to self.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions