public interface IGenericObjectNotSameCheck extends ICheck
Modifier and Type | Method and Description |
---|---|
<A,B> boolean |
isGenericObjectNotSame(Object caller,
A referenceA,
B referenceB)
Checks if the references are not the same (using !=) and not both nulls.
|
<A,B> boolean isGenericObjectNotSame(Object caller, A referenceA, B referenceB)
caller
- end-user instance initiating the checkreferenceA
- reference to check using != against reference BreferenceB
- reference checked using != by reference AIllegalArgumentException
- if caller is nullThe MIT License (MIT) - Copyright © 2014-2015 Keld Oelykke. All Rights Reserved.