Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created July 20, 2018 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssaurel/82b90ff07d7ff8abb00e052be5564946 to your computer and use it in GitHub Desktop.
Save ssaurel/82b90ff07d7ff8abb00e052be5564946 to your computer and use it in GitHub Desktop.
Groups POJO for a tutorial on the SSaurel's Blog
package com.ssaurel.fastjson;
import java.util.ArrayList;
import java.util.List;
public class Groups {
private List<Group> groups = new ArrayList<>();
public List<Group> getGroups() {
return groups;
}
public void setGroups(List<Group> groups) {
this.groups = groups;
}
public void addGroup(Group group) {
groups.add(group);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment