Class InflatableList<T>
java.lang.Object
com.illumon.iris.db.tables.remote.InflatableList<T>
- Type Parameters:
T
- the type of the object after inflation
- All Implemented Interfaces:
Inflatable<List<T>>
,Serializable
public class InflatableList<T> extends Object implements Inflatable<List<T>>
A list of inflatables; sent from the server to the client.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InflatableList(ExportedObjectClient client, List<? extends Deflatable<T>> deflatables)
Creates an InflatableList by deflating the input list.InflatableList(List<Inflatable<T>> inflatables)
Creates an InflatableList from an underlying list of inflatables. -
Method Summary
Modifier and Type Method Description List<T>
inflate(QueryProcessorConnection queryProcessorConnection)
Convert the inflatable into a local representation of the object.
-
Constructor Details
-
InflatableList
Creates an InflatableList by deflating the input list.- Parameters:
client
- the client to perform deflation withdeflatables
- the list of deflatable objects
-
InflatableList
Creates an InflatableList from an underlying list of inflatables.- Parameters:
inflatables
- the already deflated objects
-
-
Method Details
-
inflate
Description copied from interface:Inflatable
Convert the inflatable into a local representation of the object. For example, Inflatable<Table> objects are converted into Table proxies.- Specified by:
inflate
in interfaceInflatable<T>
- Parameters:
queryProcessorConnection
- the queryProcessorConnection over which we received the Inflatable- Returns:
- a local representation of the object
-