Package com.atlassian.plugin.util
Class EfficientStringUtils
java.lang.Object
com.atlassian.plugin.util.EfficientStringUtils
String utility methods designed for memory / cpu efficiency
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EfficientStringUtils
public EfficientStringUtils()
-
-
Method Details
-
endsWith
Test to see if a given string ends with some suffixes. Avoids the cost of concatenating the suffixes together- Parameters:
src- the source string to be testedsuffixes- the set of suffixes- Returns:
- true if src ends with the suffixes concatenated together
-