public interface IObjectStringWithoutSubstringCheck extends ICheck
Modifier and Type | Method and Description |
---|---|
boolean |
isStringWithoutSubstring(Object caller,
String referenceA,
String substring)
Checks if A does NOT contain substring.
|
boolean isStringWithoutSubstring(Object caller, String referenceA, String substring)
The empty string is a substring to all string instances.
null has no substrings and is not a substring.
caller
- end-user instance initiating the checkreferenceA
- reference to check for non-substring reference Bsubstring
- potential substring of reference AIllegalArgumentException
- if caller is nullThe MIT License (MIT) - Copyright © 2014-2015 Keld Oelykke. All Rights Reserved.