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

Added utility classes for swapping array elements #257

Merged
merged 2 commits into from
May 13, 2024
Merged

Added utility classes for swapping array elements #257

merged 2 commits into from
May 13, 2024

Conversation

cicirello
Copy link
Owner

Summary

  • SimpleSwapper: utility class for swapping elements within an array
  • ValidatedSwapper: utility class for swapping elements within an array, which verifies indexes are different before attempting swap

Closing Issues

Closes #256

Types of changes

  • I have read the CONTRIBUTING document.
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvements to existing code, such as refactoring or optimizations (non-breaking)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@cicirello cicirello added the enhancement New feature or request label May 13, 2024
@cicirello cicirello self-assigned this May 13, 2024
Copy link
Contributor

JaCoCo Test Coverage Summary Statistics

  • Coverage: 100%
  • Branches: 100%

@cicirello cicirello merged commit e3de8f5 into main May 13, 2024
5 checks passed
@cicirello cicirello deleted the swap branch May 13, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

Array element swapping
1 participant