Skip to content

Request for previousSetBit and previousClearBit methods #7

Closed
@mbjarland

Description

The java BitSet implementation has these as:

int	previousClearBit(int fromIndex)
int	previousSetBit(int fromIndex)

Many thanks for this excellent implementation. This is truly useful and a great addition to the JVM ecosystem of tools.

I started looking at creating a pull request but given the complexity of the implementation I backed out and figured I would ask the implementor for help first. Let me know if this would be feasible and if so, whether this is something you could envision adding.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions