MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / arrayFrom

Method arrayFrom

app/src/main/java/com/github/catvod/bean/Class.java:19–22  ·  view source on GitHub ↗
(String str)

Source from the content-addressed store, hash-verified

17 private String typeFlag;
18
19 public static List<Class> arrayFrom(String str) {
20 Type listType = TypeToken.getParameterized(List.class, Class.class).getType();
21 return new Gson().fromJson(str, listType);
22 }
23
24 public Class(String typeId) {
25 this(typeId, typeId);

Callers 2

homeVideoContentMethod · 0.45
categoryContentMethod · 0.45

Calls 1

getTypeMethod · 0.45

Tested by

no test coverage detected