PantheosMax Posted June 18, 2015 Share Posted June 18, 2015 Hi everyone,i have a CustomDataSource that, at its core, uses a Java ArrayList. What is the correct way to cycle trough the ArrayList using the next() procedure?Right now, i have a simple int i, that gets incremented with each next(), and getFieldValue uses myArrayList.get(i).But i have Problems with NullPointerExceptions, so my question is: Which is called first? next() oder getFieldValue? I have to increment my i accordingly Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now