Update 2019/06/17
Fixes and additions
Update NumberUtil to v1.3-0 and StringUtil to V1.1-0
- Added Alias classes.
StringAliases
to StringUtil andNumberAliases
and primitive variants to NumberUtil- Essentially any number\string being compared to its respective alias will be true if it is contained in the alias.
StringAliases
can ignore case if you so choose.- Useful if you are comparing multiple numbers. For example in the RSPS world, trying to get rid of nulls that might pop up.
val nullAliases = ShortAliases(nullId1, nullId2, nullId3, ..., nullId420)
->if (itemId in nullAliases) // get rid of null
- Also useful if you have a bunch of words you want to filter out. Same idea as last, but with strings instead of shorts!
Fixes to NumberUtil v1.2-0 (now v1.2-1)
- Fixed
DenseQuad.fourth
bugs that tried to access the fifth rather than fourth. But there was no fifth.- Fix also applied to 1.3-0 and future.
NumberUtil: SOURCE/JAR
StringUtil: SOURCE/JAR