Can I set an Object other than "String" Class in a job's context?
like I call
job.set("test",new SomeOtherClass());
and get it from
job.getObject("test");
??I did so ,but always comes out the ClassCastException. thanks.
Can I set an Object other than "String" Class in a job's context?
like I call
job.set("test",new SomeOtherClass());
and get it from
job.getObject("test");
??I did so ,but always comes out the ClassCastException. thanks.