All Packages Class Hierarchy This Package Previous Next Index
Class openjava.ptree.UserDecoratorList
java.lang.Object
|
+----openjava.ptree.PtreeObject
|
+----openjava.ptree.List
|
+----openjava.ptree.UserDecoratorList
- public class UserDecoratorList
- extends List
The UserDecoratorList class presents for the node of parse tree
of qualified name.
-
UserDecoratorList()
-
-
UserDecoratorList(UserDecorator)
-
-
UserDecoratorList(UserDecorator, UserDecorator)
-
-
addElement(UserDecorator)
- Adds the specified element after the list
-
append(UserDecoratorList)
- Appends a list after this list.
-
contains(String)
- Tests if any element in this list equal to the specified string.
-
elementAt(int)
- Gets the specified element at
This causes side-effect.
-
getFirst()
- Returns the first element
-
getRest()
- Returns the new list from this list's element except for
the first element
This does't cause side-effect as a list.
-
insertElementAt(UserDecorator, int)
- Inserts the specified element into the list
before the specified element of the list.
-
lastElement()
-
-
setElementAt(UserDecorator, int)
- Sets the specified element at the specified place of the list
-
writeCode()
- Writes the code this parse-tree presents for.
UserDecoratorList
public UserDecoratorList()
UserDecoratorList
public UserDecoratorList(UserDecorator e0)
UserDecoratorList
public UserDecoratorList(UserDecorator e0,
UserDecorator e1)
writeCode
public void writeCode()
- Writes the code this parse-tree presents for.
- Overrides:
- writeCode in class List
elementAt
public UserDecorator elementAt(int n)
- Gets the specified element at
This causes side-effect.
setElementAt
public void setElementAt(UserDecorator p,
int n)
- Sets the specified element at the specified place of the list
- Parameters:
- p - element
- n - the number where to set element
addElement
public void addElement(UserDecorator p)
- Adds the specified element after the list
- Parameters:
- p - UserDecorator to be inserted into the list
insertElementAt
public void insertElementAt(UserDecorator p,
int n)
- Inserts the specified element into the list
before the specified element of the list.
- Parameters:
- p - the element to be inserted into the list
- n - number of the element before which insertion ocuurs
getFirst
public UserDecorator getFirst()
- Returns the first element
- Returns:
- s the first element
getRest
public UserDecoratorList getRest()
- Returns the new list from this list's element except for
the first element
This does't cause side-effect as a list.
- Returns:
- s the rest list except for the first element
lastElement
public UserDecorator lastElement()
append
public void append(UserDecoratorList lst)
- Appends a list after this list.
This doesn't cause side-effect as a list.
- Parameters:
- lst - a list to be appended
contains
public boolean contains(String str)
- Tests if any element in this list equal to the specified string.
- Overrides:
- contains in class List
All Packages Class Hierarchy This Package Previous Next Index