Last active
November 23, 2015 19:20
-
-
Save ekramalikazi/6ef7024eba6efe1bc3e2 to your computer and use it in GitHub Desktop.
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
// Usage 1 | |
if (StringUtils.isEmpty(firstName)) { | |
//… | |
} | |
// Usage 2 | |
if (StringUtils.equalsIgnoreCase(field1, someObject.getField1()) | |
&& StringUtils.equalsIgnoreCase(field2, someObject.getField2()) | |
&& StringUtils.equalsIgnoreCase(field3, someObject.getField3())){ | |
//… | |
} | |
// Usage 3 | |
String emptyString = StringUtils.EMPTY; | |
// Usage 4 | |
StringUtils.substringAfter(url, "/some/random/url/"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment