public class FeedData
extends java.lang.Object
FeedDescription
and list of feed gfycats.
Received either from cache or from network.
Constructor and Description |
---|
FeedData(FeedDescription feedDescription)
Constructs
FeedData with empty gfycat list. |
FeedData(FeedDescription feedDescription,
java.util.List<Gfycat> gfycats)
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getCount() |
FeedDescription |
getFeedDescription() |
java.util.List<Gfycat> |
getGfycats() |
FeedIdentifier |
getIdentifier() |
int |
hashCode() |
boolean |
isClosed() |
boolean |
isEmpty() |
java.lang.String |
toString() |
public FeedData(FeedDescription feedDescription)
FeedData
with empty gfycat list.public FeedData(FeedDescription feedDescription, java.util.List<Gfycat> gfycats)
public boolean isEmpty()
public FeedIdentifier getIdentifier()
FeedIdentifier
.public boolean isClosed()
public FeedDescription getFeedDescription()
FeedDescription
.public java.util.List<Gfycat> getGfycats()
public int getCount()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object