RapidMiner 9.7 is Now Available
Lots of amazing new improvements including true version control! Learn more about what's new here.
[SOLVED]How to check the input Object Type?
-I have two output ports which contents "obj1 (obj1.class), obj2 (obj2.class)" for each as the release object.
-I have one input prot.
-What I want is checking the input object type when I get the Data form whatever which output port released.
------- input port
I thought I can do like:
But the "getData()" method was deprecated
if(input.getData() instancof Obj1)
I have to use "input.get(Obj1.class)" or"input.get(Obj2.class)"
If I do so, I think the way what I just proposed won't be work.
Could you help me?