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