public class AndWindowFilter<T> extends Object implements WindowFilter<T>
| Constructor and Description |
|---|
AndWindowFilter() |
AndWindowFilter(AndWindowFilter<T> other) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(T line) |
boolean |
acceptNext(T line,
T pivot,
int pivotIndex,
List<T> all) |
boolean |
acceptPrevious(T line,
T pivot,
int pivotIndex,
List<T> all) |
AndWindowFilter<T> |
and(WindowFilter<T> line) |
WindowFilter<T> |
copy() |
int |
getNextWindowSize() |
int |
getPreviousWindowSize() |
boolean |
isEmpty() |
void |
prepare(List<T> all,
int pivotIndex) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptanceResponsiblepublic AndWindowFilter(AndWindowFilter<T> other)
public AndWindowFilter()
public AndWindowFilter<T> and(WindowFilter<T> line)
public boolean accept(T line)
accept in interface WindowFilter<T>public boolean acceptPrevious(T line, T pivot, int pivotIndex, List<T> all)
acceptPrevious in interface WindowFilter<T>public boolean acceptNext(T line, T pivot, int pivotIndex, List<T> all)
acceptNext in interface WindowFilter<T>public WindowFilter<T> copy()
copy in interface WindowFilter<T>public boolean isEmpty()
public int getPreviousWindowSize()
getPreviousWindowSize in interface WindowFilter<T>public int getNextWindowSize()
getNextWindowSize in interface WindowFilter<T>public void prepare(List<T> all, int pivotIndex)
prepare in interface WindowFilter<T>Copyright © 2026 vpc open source initiative. All rights reserved.