2
Personal talk,
I am doubtful in the following method:
/**
* Metodo x
*/
public Exit Method(String n) {
final Ent y = new Ent();
y.setn(n);
Exit res = OpUtil.Envia(new Job() {
@Override
public Exit run(OpInt oi) throws RemoteException {
Exit res = oi.execute(y);
if (OpUtil.Ok(res)) {
//...
}
return res;
}
@Override
public ExitList runAsList(OpInt oi)
throws RemoteException {
// TODO Auto-generated method stub
return null;
}
});
return res;
}
The Oputil.Send method receives only one Job type object as argument, what is the behavior of the application in this case - when I open a "{}" and call other methods?
Could you help me with examples pfv.
Thanks in advance.
Thanks Muuitoo!. I would know the name of this resource?
– Canatto Filipe
They are Anonimas classes, @Filipe. If you need me...
– Gustavo Cinque