SyntaxFix
Write A Post
Hire A Developer
Questions
In Java you can do:
int myInt=4; Long myLong= new Long(myInt);
in your case it would be:
content.setSequence(new Long(i));