Back to project page Reddit-Underground.
The source code is released under:
This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a co...
If you think the Android project Reddit-Underground listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.cd.reddit.json.util; //from w w w . j a v a 2 s. co m import java.util.List; import com.cd.reddit.json.mapping.RedditComment; import com.cd.reddit.json.mapping.RedditLink; import com.cd.reddit.json.mapping.RedditMore; public class RedditComments { private final RedditLink parentLink; private final List<RedditComment> comments; private final RedditMore more; public RedditComments(final RedditLink theParentLink, final List<RedditComment> theParsedTypes, final RedditMore theMore){ parentLink = theParentLink; comments = theParsedTypes; more = theMore; } public RedditLink getParentLink(){ return parentLink; } public List<RedditComment> getComments() { return comments; } public RedditMore getMore() { return more; } @Override public String toString() { StringBuilder builder = new StringBuilder(); builder.append("RedditComments [parentLink="); builder.append(parentLink); builder.append(", comments="); builder.append(comments); builder.append(", more="); builder.append(more); builder.append("]"); return builder.toString(); } }