public interface IObjectLongSameCheck extends ICheck
Modifier and Type | Method and Description |
---|---|
boolean |
isLongSame(Object caller,
Long referenceA,
Long referenceB)
Checks if the references are the same (using ==) or both nulls.
|
boolean isLongSame(Object caller, Long referenceA, Long 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.