public class CategoryPath
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected java.util.LinkedList |
_categoryElements |
构造器和说明 |
---|
CategoryPath() |
CategoryPath(java.lang.String category)
Construct a CategoryPath.
|
限定符和类型 | 方法和说明 |
---|---|
void |
addCategoryElement(CategoryElement categoryElement)
Adds the specified categoryElement to the end of the categoryElement set.
|
CategoryElement |
categoryElementAt(int index)
Returns the CategoryElement at the specified index.
|
boolean |
isEmpty() |
void |
removeAllCategoryElements()
Removes all categoryElements.
|
int |
size()
returns the number of CategoryElements.
|
java.lang.String |
toString() |
public CategoryPath()
public CategoryPath(java.lang.String category)
public int size()
public boolean isEmpty()
public void removeAllCategoryElements()
public void addCategoryElement(CategoryElement categoryElement)
public CategoryElement categoryElementAt(int index)
public java.lang.String toString()
toString
在类中 java.lang.Object