Class Overview
String utility methods designed for memory / cpu efficiency
Summary
Public Methods |
static
boolean
|
endsWith(String src, String... suffixes)
Test to see if a given string ends with some suffixes.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
EfficientStringUtils
()
Public Methods
public
static
boolean
endsWith
(String src, String... suffixes)
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 tested |
suffixes
| the set of suffixes |
Returns
- true if src ends with the suffixes concatenated together