|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.umich.eecs.tac.props.AbstractKeyedEntry<T> edu.umich.eecs.tac.props.AbstractTransportableEntry<Product> edu.umich.eecs.tac.props.UserPopulationState.UserPopulationEntry
public static class UserPopulationState.UserPopulationEntry
Constructor Summary | |
---|---|
UserPopulationState.UserPopulationEntry()
|
|
UserPopulationState.UserPopulationEntry(Product key)
|
Method Summary | |
---|---|
int[] |
getDistribution()
|
Product |
getProduct()
Returns the product. |
protected java.lang.String |
keyNodeName()
Returns the transport name of the key node for externalization. |
protected void |
readEntry(se.sics.isl.transport.TransportReader reader)
Reads the entry state from the TransportReader . |
void |
setDistribution(int[] distribution)
|
protected void |
setProduct(Product product)
Sets the product. |
protected void |
writeEntry(se.sics.isl.transport.TransportWriter writer)
Writes the entry state to the TransportWriter . |
Methods inherited from class edu.umich.eecs.tac.props.AbstractTransportableEntry |
---|
readKey, writeKey |
Methods inherited from class edu.umich.eecs.tac.props.AbstractKeyedEntry |
---|
getKey, getTransportName, read, setKey, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserPopulationState.UserPopulationEntry(Product key)
public UserPopulationState.UserPopulationEntry()
Method Detail |
---|
public int[] getDistribution()
public void setDistribution(int[] distribution)
public final Product getProduct()
protected final void setProduct(Product product)
product
- the product.protected java.lang.String keyNodeName()
AbstractTransportableEntry
keyNodeName
in class AbstractTransportableEntry<Product>
protected void readEntry(se.sics.isl.transport.TransportReader reader) throws java.text.ParseException
AbstractKeyedEntry
TransportReader
. The attributes
should be read in first, then the nodes.
readEntry
in class AbstractKeyedEntry<Product>
reader
- the reader to read the state in from.
java.text.ParseException
- if a parse exception occursprotected void writeEntry(se.sics.isl.transport.TransportWriter writer)
AbstractKeyedEntry
TransportWriter
. The attributes
should be written in first, then the nodes.
writeEntry
in class AbstractKeyedEntry<Product>
writer
- the writer to write the entry state to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |