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