public class IntListComponent extends AbstractMessageComponent
| Constructor and Description | 
|---|
IntListComponent(java.lang.String name)
Construct an IntListComponent with no data. 
 | 
IntListComponent(java.lang.String name,
                java.util.List<java.lang.Integer> data)
Construct an IntListComponent with a list of integers. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<java.lang.Integer> | 
getValues()
Get the list of Integers in this component. 
 | 
void | 
read(java.io.InputStream in)
Read this component from a stream. 
 | 
void | 
setValues(int... newData)
Set the list of values in this component. 
 | 
void | 
setValues(java.util.List<java.lang.Integer> newData)
Set the list of values in this component. 
 | 
java.lang.String | 
toString()  | 
void | 
write(java.io.OutputStream out)
Write this component to a stream. 
 | 
getNamepublic IntListComponent(java.lang.String name)
name - The name of the component.public IntListComponent(java.lang.String name,
                        java.util.List<java.lang.Integer> data)
name - The name of the component.data - The data.public java.util.List<java.lang.Integer> getValues()
public void setValues(java.util.List<java.lang.Integer> newData)
newData - The new set of values.public void setValues(int... newData)
newData - The new set of values.public void write(java.io.OutputStream out)
           throws java.io.IOException
MessageComponentout - The stream to write to.java.io.IOException - If the write fails.public void read(java.io.InputStream in)
          throws java.io.IOException
MessageComponentin - The stream to read from.java.io.IOException - If the read fails.public java.lang.String toString()
toString in class java.lang.Object