T
- the type of elements in the listpublic interface GraphObjectList<T> extends List<T>
Factory
class). A GraphObjectList can actually contain elements of any type, not just graph objects, but its principal
use in the SDK is to contain types derived from GraphObject.
Modifier and Type | Method and Description |
---|---|
<U extends GraphObject> |
castToListOf(Class<U> graphObjectClass)
If T is derived from GraphObject, returns a new GraphObjectList exposing the same underlying data as a new
GraphObject-derived type.
|
org.json.JSONArray |
getInnerJSONArray()
Gets the underlying JSONArray representation of the data.
|
<U extends GraphObject> GraphObjectList<U> castToListOf(Class<U> graphObjectClass)
graphObjectClass
- the GraphObject-derived type to return a list ofFacebookGraphObjectException
- if T does not derive from GraphObjectorg.json.JSONArray getInnerJSONArray()
Copyright © 2014. All rights reserved.