|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jnetstream.filter.Filter.AND<T>
public static final class Filter.AND<T extends FilterTarget>
Takes two filters (left and right) and does an AND logical operation after evaluating each of the filters.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jnetstream.filter.Filter |
|---|
Filter.AND<T extends FilterTarget>, Filter.MAXIMUM<T extends FilterTarget>, Filter.MINIMUM<T extends FilterTarget>, Filter.NOT<T extends FilterTarget>, Filter.OR<T extends FilterTarget> |
| Field Summary |
|---|
| Fields inherited from interface org.jnetstream.filter.Filter |
|---|
TRUE |
| Constructor Summary | |
|---|---|
Filter.AND(Filter<T> left,
Filter<T> right)
|
|
| Method Summary | |
|---|---|
boolean |
accept(java.nio.ByteBuffer buffer,
T target)
|
long |
execute(java.nio.ByteBuffer buffer,
T target)
Will return the smaller of the evaluated expressions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Filter.AND(Filter<T> left,
Filter<T> right)
| Method Detail |
|---|
public boolean accept(java.nio.ByteBuffer buffer,
T target)
throws FilterException
accept in interface Filter<T extends FilterTarget>FilterException
public long execute(java.nio.ByteBuffer buffer,
T target)
throws FilterException
execute in interface Filter<T extends FilterTarget>buffer - buffer to execute ontarget - the target specific filter
FilterException - TODOcom.slytechs.capture.filter.Filter#execute(java.nio.ByteBuffer)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||