public interface IObjectStringWithPostfixCheck extends ICheck
Modifier and Type | Method and Description |
---|---|
boolean |
isStringWithPostfix(Object caller,
String referenceA,
String postfix)
Checks if A ends with postfix.
|
boolean isStringWithPostfix(Object caller, String referenceA, String postfix)
The empty string is a postfix to all string instances.
null has no postfixes and is not a postfix.
caller
- end-user instance initiating the checkreferenceA
- reference to check for postfix reference Bpostfix
- potential postfix of reference AIllegalArgumentException
- if caller is nullThe MIT License (MIT) - Copyright © 2014-2015 Keld Oelykke. All Rights Reserved.