| 构造器和说明 |
|---|
DrawPipe() |
| 限定符和类型 | 方法和说明 |
|---|---|
Pipeline<DrawNode> |
addFirst(DrawNode element)
Add the element to the first.
|
Pipeline<DrawNode> |
addLast(DrawNode element)
Add the element to the last.
|
void |
clear()
Clear all elements.
|
boolean |
contains(java.lang.Object o) |
void |
copy(Pipeline<DrawNode> pipeline)
Copy all the contents of another pipe to this pipe.
|
java.util.ListIterator<DrawNode> |
iterator() |
void |
remove(DrawNode element)
Remove an element.
|
Pipeline<DrawNode> |
setAfter(DrawNode target,
DrawNode element)
This method will make sure the element is after the target.
|
Pipeline<DrawNode> |
setBefore(DrawNode target,
DrawNode element)
This method will make sure the element is before the target.
|
int |
size() |
public Pipeline<DrawNode> addLast(DrawNode element)
Pipelinepublic Pipeline<DrawNode> addFirst(DrawNode element)
Pipelinepublic Pipeline<DrawNode> setAfter(DrawNode target, DrawNode element)
PipelineIf pipe doesn't contain this element, the element will be add into pipe.
If there are multiple targets in the pipe, make sure to put the element after all of them.
public Pipeline<DrawNode> setBefore(DrawNode target, DrawNode element)
PipelineIf pipe doesn't contain this element, the element will be add into pipe.
If there are multiple targets in the pipe, make sure to put the element before all of them.
public void copy(Pipeline<DrawNode> pipeline)
Pipeline