|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--goldengine.java.SymbolList
-------------------------------------------------------------------------------------------
Source File: SymbolList.java
Author: Devin Cook, Matthew Hawkins
Description: A holding class for Symbols, with special methods needed that a Vector
can not fulfil.
-------------------------------------------------------------------------------------------
Revision List
Author Version Description
------ ------- -----------
MPH 1.0 First Issue
| Constructor Summary | |
SymbolList()
|
|
| Method Summary | |
int |
add(Symbol newItem)
add This method adds a symbol to the end of the list. |
void |
clear()
clear This method empties the list. |
int |
count()
count This method will return the number of entries in the SymbolList. |
Symbol |
getMember(int index)
getMember This method will return the Symbol at the specified index. |
Symbol |
getMember(java.lang.String name)
getMember This method will return the Symbol that has an equivalent name in the list. |
void |
reDim(int newSize)
reDim This is the equivalent of the ReDim method in VB. |
void |
setMember(int index,
Symbol obj)
setMember This method will set the element at the specified index to the Symbol passed in. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SymbolList()
| Method Detail |
public void reDim(int newSize)
newSize - The new size required.public void clear()
public int count()
public Symbol getMember(int index)
index - The index of the Symbol wanted.public Symbol getMember(java.lang.String name)
name - The name of the Symbol wanted in the list.
public void setMember(int index,
Symbol obj)
index - The index to set the Symbol to.obj - The Symbol to place in the SymbolList.public int add(Symbol newItem)
newItem - The Symbol to add.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||