public static class RowStatus.ActiveRowsFilter<R extends MOTableRow> extends Object implements MOTableRowFilter<R>
ActiveRowsFilter
is a MOTableRowFilter
that
returns only the active rows of a table with a RowStatus column.Constructor and Description |
---|
ActiveRowsFilter(int rowStatusColumnIndex)
Creates an active row filter by specifying the RowStatus column's index
in the target table.
|
Modifier and Type | Method and Description |
---|---|
boolean |
passesFilter(R row)
Checks whether the supplied row passes the filter criteria implemented by
this row filter.
|
public ActiveRowsFilter(int rowStatusColumnIndex)
rowStatusColumnIndex
- the column index (zero-based) of the RowStatus column on behalf the
filtering is done.public boolean passesFilter(R row)
MOTableRowFilter
passesFilter
in interface MOTableRowFilter<R extends MOTableRow>
row
- a MOTableRow
instance.true
if the row passes the filter or false
if not.Copyright © 2017 SNMP4J.org. All rights reserved.