public final class JIStruct extends Object implements Serializable
Struct data type. | Modifier and Type | Field and Description |
|---|---|
static JIStruct |
MEMBER_IS_EMPTY |
| Constructor and Description |
|---|
JIStruct() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMember(int position,
Object member)
Adds object as member to the index specified.
|
void |
addMember(Object member)
Adds the object as a member of this structure.
|
Object |
getMember(int position)
Retrieves the member at the specified index from the member list.
|
List |
getMembers()
Returns all members as java.util.List.
|
int |
getSize()
Returns the total number of members.
|
void |
removeMember(int index)
Removes the member from the specified index.
|
public static final JIStruct MEMBER_IS_EMPTY
public void addMember(Object member) throws JIException
member - JIExceptionpublic void addMember(int position,
Object member)
throws JIException
position - Zero based indexmember - JIExceptionpublic void removeMember(int index)
index - public List getMembers()
public Object getMember(int position)
position - Zero based index.public int getSize()
Copyright © 2017 LSST. All rights reserved.