| Modifier and Type | Field and Description |
|---|---|
protected Pipe<I,M> |
first
入口
|
protected Pipe<M,O> |
last
出口
|
protected LinkedList<Pipe<M,M>> |
pipeList
中间部分
|
| Constructor and Description |
|---|
Pipeline(Pipe<I,M> first,
Pipe<M,O> last) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Pipe<M,M> element) |
boolean |
add(Pipe<M,M> pipe) |
boolean |
addAll(Collection<? extends Pipe<M,M>> c) |
boolean |
addAll(int index,
Collection<? extends Pipe<M,M>> c) |
void |
addFirst(Pipe<M,M> pipe)
以最高优先级加入管道
|
void |
addLast(Pipe<M,M> pipe)
以最低优先级加入管道
|
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
O |
flow(I input)
流经管道
|
Pipe<M,M> |
get(int index) |
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<Pipe<M,M>> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<Pipe<M,M>> |
listIterator() |
ListIterator<Pipe<M,M>> |
listIterator(int index) |
Pipe<M,M> |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
Pipe<M,M> |
set(int index,
Pipe<M,M> element) |
int |
size() |
List<Pipe<M,M>> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitreplaceAll, sort, spliteratorparallelStream, removeIf, streamprotected LinkedList<Pipe<M,M>> pipeList
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<Pipe<M,M>>containsAll in interface List<Pipe<M,M>>public boolean addAll(Collection<? extends Pipe<M,M>> c)
public boolean addAll(int index,
Collection<? extends Pipe<M,M>> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public boolean equals(Object o)
public int hashCode()
public ListIterator<Pipe<M,M>> listIterator()
listIterator in interface List<Pipe<M,M>>public ListIterator<Pipe<M,M>> listIterator(int index)
listIterator in interface List<Pipe<M,M>>Copyright © 2014–2021 码农场. All rights reserved.