Class OrWindowFilter<T>
java.lang.Object
net.thevpc.nsh.cmd.impl.util.filter.OrWindowFilter<T>
- All Implemented Interfaces:
WindowFilter<T>
- Author:
- vpc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptanceResponsible(T line) booleanacceptNext(T line, T pivot, int pivotIndex, List<T> all) booleanacceptPrevious(T line, T pivot, int pivotIndex, List<T> all) copy()intintor(WindowFilter<T> line) voidtoString()
-
Constructor Details
-
OrWindowFilter
public OrWindowFilter() -
OrWindowFilter
-
-
Method Details
-
or
-
prepare
- Specified by:
preparein interfaceWindowFilter<T>
-
accept
- Specified by:
acceptin interfaceWindowFilter<T>
-
copy
- Specified by:
copyin interfaceWindowFilter<T>
-
toString
-
acceptPrevious
- Specified by:
acceptPreviousin interfaceWindowFilter<T>
-
acceptNext
- Specified by:
acceptNextin interfaceWindowFilter<T>
-
getPreviousWindowSize
public int getPreviousWindowSize()- Specified by:
getPreviousWindowSizein interfaceWindowFilter<T>
-
getNextWindowSize
public int getNextWindowSize()- Specified by:
getNextWindowSizein interfaceWindowFilter<T>
-
acceptanceResponsible
- Specified by:
acceptanceResponsiblein interfaceWindowFilter<T>
-