public interface IObjectUtil
Define common Object operations
- 導入されたバージョン:
- 1.0.0
- バージョン:
- 1.0.0
- 作成者:
- yui-KITAMURA
-
メソッドの概要
-
メソッドの詳細
-
isNull
Check the object isnull
- パラメータ:
obj
- check target instance or null value- 戻り値:
- if the object is
null
thentrue
-
isNotNull
Check the object is NOTnull
- パラメータ:
obj
- check target instance or null value- 戻り値:
- if the object is NOT
null
thentrue
-
equals
null-safe equality test. Almost same asfirst.equals(second)
, but safe to null.null,null
thentrue
null,NOT-null
thenfalse
NOT-null,null
thenfalse
NOT-null,NOT-null
then same toObject.equals(Object)
- パラメータ:
first
- first objectsecond
- second object- 戻り値:
- almost same to
Object.equals(Object)
. See the document body
-
isTypeOf
check the instance is extends or implements the class- パラメータ:
instance
- instance that to be checkedsuperClz
- expected super class or interface- 戻り値:
- if the instance are the child of superClz then
true
- 関連項目:
-