public class List extends java.lang.Object implements SplusObject, java.io.Serializable
List
object.Constructor and Description |
---|
List()
The default constructor.
|
List(SplusObject... values)
Constructs a
List object from the SplusObject values passed in. |
List(java.lang.String[]... values)
Constructs a character vector
List object using a specialized array. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Attr> |
getAttrs()
Retrieves the attributes of the list.
|
java.util.List<Component> |
getComponents()
Retrieves the components of the list.
|
<T extends SplusObject> |
getComponentValue(int index) |
java.lang.Integer |
getLength()
Retrieves the list length.
|
java.lang.String |
getName()
Retrieves the list name.
|
java.lang.String |
getNamed()
Retrieves the named list.
|
java.lang.String |
getSplusClass()
Retrieves a string containing the name of the class.
|
void |
setAttrs(java.util.List<Attr> attrs)
Sets the attributes of the list.
|
void |
setComponents(java.util.List<Component> components)
Sets the components of the list.
|
void |
setLength()
Sets the list length.
|
void |
setName(java.lang.String name)
Sets the list name.
|
void |
setNamed(java.lang.String named)
Sets the named list.
|
void |
setSplusClass(java.lang.String splusClass)
Sets the class.
|
public List()
public List(SplusObject... values)
List
object from the SplusObject values passed in.values
- The SplusObject values used to construct the list.public List(java.lang.String[]... values)
List
object using a specialized array.dimNamesArray
- The array.public java.lang.String getSplusClass()
public void setSplusClass(java.lang.String splusClass)
splusClass
- The class to set.public java.util.List<Attr> getAttrs()
Attr
objects.Attr
public void setAttrs(java.util.List<Attr> attrs)
attrs
- A list of Attr
objects.Attr
public java.util.List<Component> getComponents()
Component
objects.Component
public void setComponents(java.util.List<Component> components)
components
- A list of Component
objects.Component
public java.lang.Integer getLength()
public void setLength()
public java.lang.String getName()
getName
in interface SplusObject
public void setName(java.lang.String name)
setName
in interface SplusObject
name
- A string containing the list name.public java.lang.String getNamed()
public void setNamed(java.lang.String named)
named
- A string containing the named list.public <T extends SplusObject> T getComponentValue(int index)