public interface IObjectStringWithoutPostfixCheck extends ICheck
Modifier and Type | Method and Description |
---|---|
boolean |
isStringWithoutPostfix(Object caller,
String referenceA,
String postfix)
Checks if A does not end with postfix.
|
boolean isStringWithoutPostfix(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 non-postfix reference Bpostfix
- potential postfix of reference AIllegalArgumentException
- if caller is nullThe MIT License (MIT) - Copyright © 2014-2015 Keld Oelykke. All Rights Reserved.