Last active
May 17, 2018 08:56
-
-
Save tmaxxdd/5a386276bb61bda765f02f6e0bcf5ed9 to your computer and use it in GitHub Desktop.
Generating sample data array with java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
Topic[] items = new Topic[20]; | |
for (int i = 0; i < items.length; i++){ | |
items[i] = new Topic("Some topic", "Some description"); | |
} | |
return items; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment