Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Quick java udf question

Hi sorry for this completely stupid question but the below piece of code I am trying to dissect and understand.

I understand the first line I am creating a new global container but the second line I am not so sure what the (integer) would be for. Is this meant to be a variable or a return type? What could that possibly be for I mean a type in parenthesis after the equals sign.

GlobalContainer gc = container.getContainer();
Integer counter = (Integer) gc.getParameter("counter");

Thank you for your help.

Former Member
Not what you were looking for? View more on this topic or Ask a question