-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add convenience methods to KiwiSort and KiwiSort.Direction (#780)
* Add isDescending() to KiwiSort.Direction enum * Add a Direction property named directionObject to KiwiSort to allow code to easily get the direction as the enum instead of a String. But, ignore it when serializing to JSON, since the serialized value is just the enum constant's name, e.g. "ASC" or "DESC", which it already has via the direction property * Add isDescending() to KiwiSort Closes #779
- Loading branch information
1 parent
d1429df
commit 91e29e7
Showing
2 changed files
with
83 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters