Class PatternUtils
- java.lang.Object
-
- io.github.thebusybiscuit.slimefun4.utils.PatternUtils
-
public final class PatternUtils extends Object
This class is created for common-use patterns used in things such asString.split(String)
.
Every time something likeString.split(String)
is called it will compile aPattern
, for code that is called often this can be a massive performance loss. This class solves that, one compile but many uses!- Author:
- Walshy