APIdia Launch Partner
Top Description Inners Constructors Methods
javax.swing

public abstract Class RowFilter<M, I>

extends Object
Class Inheritance
Known Direct Subclasses
javax.swing.RowFilter.GeneralFilter, javax.swing.RowFilter.OrFilter, javax.swing.RowFilter.NotFilter
Type Parameters
<M>
the type of the model; for example PersonModel
<I>
the type of the identifier; when using TableRowSorter this will be Integer
Imports
java.util.ArrayList, .Date, .List, java.math.BigDecimal, .BigInteger, java.util.regex.Matcher, .Pattern, .PatternSyntaxException

RowFilter is used to filter out entries from the model so that they are not shown in the view. For example, a RowFilter associated with a JTable might only allow rows that contain a column with a specific string. The meaning of entry depends on the component type. For example, when a filter is associated with a JTable, an entry corresponds to a row; when associated with a JTree, an entry corresponds to a node.

Subclasses must override the include method to indicate whether the entry should be shown in the view. The Entry argument can be used to obtain the values in each of the columns in that entry. The following example shows an include method that allows only entries containing one or more values starting with the string "a":

RowFilter<Object,Object> startsWithAFilter = new RowFilter<Object,Object>() {
  public boolean include(Entry<? extends Object, ? extends Object> entry) {
    for (int i = entry.getValueCount() - 1; i >= 0; i--) {
      if (entry.getStringValue(i).startsWith("a")) {
        // The value starts with "a", include it
        return true;
      }
    }
    // None of the columns start with "a"; return false so that this
    // entry is not shown
    return false;
  }
};
RowFilter has two formal type parameters that allow you to create a RowFilter for a specific model. For example, the following assumes a specific model that is wrapping objects of type Person. Only Persons with an age over 20 will be shown:
RowFilter<PersonModel,Integer> ageFilter = new RowFilter<PersonModel,Integer>() {
  public boolean include(Entry<? extends PersonModel, ? extends Integer> entry) {
    PersonModel personModel = entry.getModel();
    Person person = personModel.getPerson(entry.getIdentifier());
    if (person.getAge() > 20) {
      // Returning true indicates this row should be shown.
      return true;
    }
    // Age is <= 20, don't show it.
    return false;
  }
};
PersonModel model = createPersonModel();
TableRowSorter<PersonModel> sorter = new TableRowSorter<PersonModel>(model);
sorter.setRowFilter(ageFilter);
Since
1.6
See Also
javax.swing.table.TableRowSorter

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
public static enum
RowFilter.ComparisonType

Enumeration of the possible comparison values supported by some of the default RowFilters.

private static class
public abstract static class
RowFilter.Entry<
the type of the model; for example PersonModel
M
,
the type of the identifier; when using TableRowSorter this will be Integer
I
>

An Entry object is passed to instances of RowFilter, allowing the filter to get the value of the entry's data, and thus to determine whether the entry should be shown.

private abstract static class
private static class
private static class
private static class
private static class

Constructor Summary

AccessConstructor and Description
protected
RowFilter()

Constructor for subclasses to call.

Method Summary

Modifier and TypeMethod and Description
public static <
the type of the model the RowFilter applies to
M
,
the type of the identifier passed to the RowFilter
I
>
RowFilter<M, I>

Returns:

a RowFilter implementing the specified criteria
andFilter
(Iterable<? extends RowFilter<? super M, ? super I>>
the RowFilters to test
filters
)

Returns a RowFilter that includes entries if all of the supplied filters include the entry.

private static void
checkIndices(int[] columns)

Throws an IllegalArgumentException if any of the values in columns are < 0.

public static <
the type of the model to which the RowFilter applies
M
,
the type of the identifier passed to the RowFilter
I
>
RowFilter<M, I>

Returns:

a RowFilter implementing the specified criteria
dateFilter
(RowFilter.ComparisonType
the type of comparison to perform
type
,
Date
the date to compare against
date
,
int...
the indices of the values to check. If not supplied all values are evaluated
indices
)

Returns a RowFilter that includes entries that have at least one Date value meeting the specified criteria.

public abstract boolean

Returns:

true if the entry should be shown
include
(RowFilter.Entry<? extends M, ? extends I>
a non-null object that wraps the underlying object from the model
entry
)

Returns true if the specified entry should be shown; returns false if the entry should be hidden.

public static <
the type of the model to which the RowFilter applies
M
,
the type of the identifier passed to the RowFilter
I
>
RowFilter<M, I>

Returns:

a RowFilter implementing the specified criteria
notFilter
(RowFilter<M, I>
the RowFilter to negate
filter
)

Returns a RowFilter that includes entries if the supplied filter does not include the entry.

public static <
the type of the model to which the RowFilter applies
M
,
the type of the identifier passed to the RowFilter
I
>
RowFilter<M, I>

Returns:

a RowFilter implementing the specified criteria
numberFilter
(RowFilter.ComparisonType
the type of comparison to perform
type
,
Number
a Number value to compare against
number
,
int...
the indices of the values to check. If not supplied all values are evaluated
indices
)

Returns a RowFilter that includes entries that have at least one Number value meeting the specified criteria.

public static <
the type of the model to which the RowFilter applies
M
,
the type of the identifier passed to the RowFilter
I
>
RowFilter<M, I>

Returns:

a RowFilter implementing the specified criteria
orFilter
(Iterable<? extends RowFilter<? super M, ? super I>>
the RowFilters to test
filters
)

Returns a RowFilter that includes entries if any of the supplied filters includes the entry.

public static <
the type of the model to which the RowFilter applies
M
,
the type of the identifier passed to the RowFilter
I
>
RowFilter<M, I>

Returns:

a RowFilter implementing the specified criteria
regexFilter
(String
the regular expression to filter on
regex
,
int...
the indices of the values to check. If not supplied all values are evaluated
indices
)

Returns a RowFilter that uses a regular expression to determine which entries to include.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

RowFilterback to summary
protected RowFilter()

Constructor for subclasses to call.

Method Detail

andFilterback to summary
public static <M, I> RowFilter<M, I> andFilter(Iterable<? extends RowFilter<? super M, ? super I>> filters)

Returns a RowFilter that includes entries if all of the supplied filters include the entry.

The following example creates a RowFilter that will include any entries containing the string "foo" and the string "bar":

  List<RowFilter<Object,Object>> filters = new ArrayList<RowFilter<Object,Object>>(2);
  filters.add(RowFilter.regexFilter("foo"));
  filters.add(RowFilter.regexFilter("bar"));
  RowFilter<Object,Object> fooBarFilter = RowFilter.andFilter(filters);
Parameters
<M>
the type of the model the RowFilter applies to
<I>
the type of the identifier passed to the RowFilter
filters:Iterable<? extends RowFilter<? super M, ? super I>>

the RowFilters to test

Returns:RowFilter<M, I>

a RowFilter implementing the specified criteria

Exceptions
IllegalArgumentException:
if any of the filters are null
NullPointerException:
if filters is null
See Also
java.util.Arrays#asList
checkIndicesback to summary
private static void checkIndices(int[] columns)

Throws an IllegalArgumentException if any of the values in columns are < 0.

dateFilterback to summary
public static <M, I> RowFilter<M, I> dateFilter(RowFilter.ComparisonType type, Date date, int... indices)

Returns a RowFilter that includes entries that have at least one Date value meeting the specified criteria. For example, the following RowFilter includes only entries with at least one date value after the current date:

  RowFilter.dateFilter(ComparisonType.AFTER, new Date());
Parameters
<M>
the type of the model to which the RowFilter applies
<I>
the type of the identifier passed to the RowFilter
type:RowFilter.ComparisonType

the type of comparison to perform

date:Date

the date to compare against

indices:int[]

the indices of the values to check. If not supplied all values are evaluated

Returns:RowFilter<M, I>

a RowFilter implementing the specified criteria

Exceptions
NullPointerException:
if date is null
IllegalArgumentException:
if any of the indices are < 0 or type is null
See Also
java.util.Calendar, java.util.Date
includeback to summary
public abstract boolean include(RowFilter.Entry<? extends M, ? extends I> entry)

Returns true if the specified entry should be shown; returns false if the entry should be hidden.

The entry argument is valid only for the duration of the invocation. Using entry after the call returns results in undefined behavior.

Parameters
entry:RowFilter.Entry<? extends M, ? extends I>

a non-null object that wraps the underlying object from the model

Returns:boolean

true if the entry should be shown

notFilterback to summary
public static <M, I> RowFilter<M, I> notFilter(RowFilter<M, I> filter)

Returns a RowFilter that includes entries if the supplied filter does not include the entry.

Parameters
<M>
the type of the model to which the RowFilter applies
<I>
the type of the identifier passed to the RowFilter
filter:RowFilter<M, I>

the RowFilter to negate

Returns:RowFilter<M, I>

a RowFilter implementing the specified criteria

Exceptions
IllegalArgumentException:
if filter is null
numberFilterback to summary
public static <M, I> RowFilter<M, I> numberFilter(RowFilter.ComparisonType type, Number number, int... indices)

Returns a RowFilter that includes entries that have at least one Number value meeting the specified criteria. For example, the following filter will only include entries with at least one number value equal to 10:

  RowFilter.numberFilter(ComparisonType.EQUAL, 10);
Parameters
<M>
the type of the model to which the RowFilter applies
<I>
the type of the identifier passed to the RowFilter
type:RowFilter.ComparisonType

the type of comparison to perform

number:Number

a Number value to compare against

indices:int[]

the indices of the values to check. If not supplied all values are evaluated

Returns:RowFilter<M, I>

a RowFilter implementing the specified criteria

Exceptions
IllegalArgumentException:
if any of the indices are < 0, type is null or number is null
orFilterback to summary
public static <M, I> RowFilter<M, I> orFilter(Iterable<? extends RowFilter<? super M, ? super I>> filters)

Returns a RowFilter that includes entries if any of the supplied filters includes the entry.

The following example creates a RowFilter that will include any entries containing the string "foo" or the string "bar":

  List<RowFilter<Object,Object>> filters = new ArrayList<RowFilter<Object,Object>>(2);
  filters.add(RowFilter.regexFilter("foo"));
  filters.add(RowFilter.regexFilter("bar"));
  RowFilter<Object,Object> fooBarFilter = RowFilter.orFilter(filters);
Parameters
<M>
the type of the model to which the RowFilter applies
<I>
the type of the identifier passed to the RowFilter
filters:Iterable<? extends RowFilter<? super M, ? super I>>

the RowFilters to test

Returns:RowFilter<M, I>

a RowFilter implementing the specified criteria

Exceptions
IllegalArgumentException:
if any of the filters are null
NullPointerException:
if filters is null
See Also
java.util.Arrays#asList
regexFilterback to summary
public static <M, I> RowFilter<M, I> regexFilter(String regex, int... indices)

Returns a RowFilter that uses a regular expression to determine which entries to include. Only entries with at least one matching value are included. For example, the following creates a RowFilter that includes entries with at least one value starting with "a":

  RowFilter.regexFilter("^a");

The returned filter uses java.util.regex.Matcher#find to test for inclusion. To test for exact matches use the characters '^' and '$' to match the beginning and end of the string respectively. For example, "^foo$" includes only rows whose string is exactly "foo" and not, for example, "food". See java.util.regex.Pattern for a complete description of the supported regular-expression constructs.

Parameters
<M>
the type of the model to which the RowFilter applies
<I>
the type of the identifier passed to the RowFilter
regex:String

the regular expression to filter on

indices:int[]

the indices of the values to check. If not supplied all values are evaluated

Returns:RowFilter<M, I>

a RowFilter implementing the specified criteria

Exceptions
NullPointerException:
if regex is null
IllegalArgumentException:
if any of the indices are < 0
PatternSyntaxException:
if regex is not a valid regular expression.
See Also
java.util.regex.Pattern
javax.swing back to summary

private Class RowFilter.AndFilter<M, I>

extends RowFilter.OrFilter<M, I>
Class Inheritance

Field Summary

Inherited from javax.swing.RowFilter.OrFilter:
filters

Constructor Summary

AccessConstructor and Description
pack-priv
AndFilter(Iterable<? extends RowFilter<? super M, ? super I>> filters)

Method Summary

Modifier and TypeMethod and Description
public boolean
include(RowFilter.Entry<? extends M, ? extends I> value)

Overrides javax.swing.RowFilter.OrFilter.include.

Returns true if the specified entry should be shown; returns false if the entry should be hidden.

Constructor Detail

AndFilterback to summary
pack-priv AndFilter(Iterable<? extends RowFilter<? super M, ? super I>> filters)

Method Detail

includeback to summary
public boolean include(RowFilter.Entry<? extends M, ? extends I> value)

Overrides javax.swing.RowFilter.OrFilter.include.

Doc from javax.swing.RowFilter.include.

Returns true if the specified entry should be shown; returns false if the entry should be hidden.

The entry argument is valid only for the duration of the invocation. Using entry after the call returns results in undefined behavior.

javax.swing back to summary

public final Enum RowFilter.ComparisonType

extends Enum<RowFilter.ComparisonType>
Class Inheritance

Enumeration of the possible comparison values supported by some of the default RowFilters.
Since
1.6
See Also
RowFilter

Field Summary

Modifier and TypeField and Description
public static final RowFilter.ComparisonType
AFTER

Indicates that entries with a value after the supplied value should be included.

public static final RowFilter.ComparisonType
BEFORE

Indicates that entries with a value before the supplied value should be included.

public static final RowFilter.ComparisonType
EQUAL

Indicates that entries with a value equal to the supplied value should be included.

public static final RowFilter.ComparisonType
NOT_EQUAL

Indicates that entries with a value not equal to the supplied value should be included.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static RowFilter.ComparisonType
public static RowFilter.ComparisonType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

AFTERback to summary
public static final RowFilter.ComparisonType AFTER

Indicates that entries with a value after the supplied value should be included.

BEFOREback to summary
public static final RowFilter.ComparisonType BEFORE

Indicates that entries with a value before the supplied value should be included.

EQUALback to summary
public static final RowFilter.ComparisonType EQUAL

Indicates that entries with a value equal to the supplied value should be included.

NOT_EQUALback to summary
public static final RowFilter.ComparisonType NOT_EQUAL

Indicates that entries with a value not equal to the supplied value should be included.

Constructor Detail

ComparisonTypeback to summary
private ComparisonType()

Method Detail

valueOfback to summary
public static RowFilter.ComparisonType valueOf(String name)
valuesback to summary
public static RowFilter.ComparisonType[] values()
javax.swing back to summary

private Class RowFilter.DateFilter<M, I>

extends RowFilter.GeneralFilter<M, I>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private long
private RowFilter.ComparisonType

Constructor Summary

AccessConstructor and Description
pack-priv
DateFilter(RowFilter.ComparisonType type, long date, int[] columns)

Method Summary

Modifier and TypeMethod and Description
protected boolean
include(RowFilter.Entry<? extends M, ? extends I> value, int index)

Implements abstract javax.swing.RowFilter.GeneralFilter.include.

Inherited from javax.swing.RowFilter.GeneralFilter:
include

Field Detail

dateback to summary
private long date
typeback to summary
private RowFilter.ComparisonType type

Constructor Detail

DateFilterback to summary
pack-priv DateFilter(RowFilter.ComparisonType type, long date, int[] columns)

Method Detail

includeback to summary
protected boolean include(RowFilter.Entry<? extends M, ? extends I> value, int index)

Implements abstract javax.swing.RowFilter.GeneralFilter.include.

Annotations
@Override
javax.swing back to summary

public abstract Class RowFilter.Entry<M, I>

extends Object
Class Inheritance
Known Direct Subclasses
javax.swing.DefaultRowSorter.FilterEntry
Type Parameters
<M>
the type of the model; for example PersonModel
<I>
the type of the identifier; when using TableRowSorter this will be Integer

An Entry object is passed to instances of RowFilter, allowing the filter to get the value of the entry's data, and thus to determine whether the entry should be shown. An Entry object contains information about the model as well as methods for getting the underlying values from the model.
Since
1.6
See Also
javax.swing.RowFilter, javax.swing.DefaultRowSorter#setRowFilter(javax.swing.RowFilter)

Constructor Summary

AccessConstructor and Description
public
Entry()

Creates an Entry.

Method Summary

Modifier and TypeMethod and Description
public abstract I

Returns:

a model-based (not view-based) identifier for this entry
getIdentifier
()

Returns the identifier (in the model) of the entry.

public abstract M

Returns:

the model containing the data that this entry represents
getModel
()

Returns the underlying model.

public String

Returns:

non-null string at the specified index
getStringValue
(int
the index of the value to get
index
)

Returns the string value at the specified index.

public abstract Object

Returns:

value at the specified index
getValue
(int
the index of the value to get
index
)

Returns the value at the specified index.

public abstract int

Returns:

number of values in the object being filtered
getValueCount
()

Returns the number of values in the entry.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Entryback to summary
public Entry()

Creates an Entry.

Method Detail

getIdentifierback to summary
public abstract I getIdentifier()

Returns the identifier (in the model) of the entry. For a table this corresponds to the index of the row in the model, expressed as an Integer.

Returns:I

a model-based (not view-based) identifier for this entry

getModelback to summary
public abstract M getModel()

Returns the underlying model.

Returns:M

the model containing the data that this entry represents

getStringValueback to summary
public String getStringValue(int index)

Returns the string value at the specified index. If filtering is being done based on String values this method is preferred to that of getValue as getValue(index).toString() may return a different result than getStringValue(index).

This implementation calls getValue(index).toString() after checking for null. Subclasses that provide different string conversion should override this method if necessary.

Parameters
index:int

the index of the value to get

Returns:String

non-null string at the specified index

Exceptions
IndexOutOfBoundsException:
if index < 0 || >= getValueCount
getValueback to summary
public abstract Object getValue(int index)

Returns the value at the specified index. This may return null. When used with a table, index corresponds to the column number in the model.

Parameters
index:int

the index of the value to get

Returns:Object

value at the specified index

Exceptions
IndexOutOfBoundsException:
if index < 0 or >= getValueCount
getValueCountback to summary
public abstract int getValueCount()

Returns the number of values in the entry. For example, when used with a table this corresponds to the number of columns.

Returns:int

number of values in the object being filtered

javax.swing back to summary

private abstract Class RowFilter.GeneralFilter<M, I>

extends RowFilter<M, I>
Class Inheritance
Known Direct Subclasses
javax.swing.RowFilter.RegexFilter, javax.swing.RowFilter.DateFilter, javax.swing.RowFilter.NumberFilter

Field Summary

Modifier and TypeField and Description
private int[]

Constructor Summary

AccessConstructor and Description
pack-priv
GeneralFilter(int[] columns)

Method Summary

Modifier and TypeMethod and Description
public boolean
include(RowFilter.Entry<? extends M, ? extends I> value)

Implements abstract javax.swing.RowFilter.include.

Returns true if the specified entry should be shown; returns false if the entry should be hidden.

protected abstract boolean
include(RowFilter.Entry<? extends M, ? extends I> value, int index)

Inherited from javax.swing.RowFilter:
andFilterdateFilternotFilternumberFilterorFilterregexFilter

Field Detail

columnsback to summary
private int[] columns

Constructor Detail

GeneralFilterback to summary
pack-priv GeneralFilter(int[] columns)

Method Detail

includeback to summary
public boolean include(RowFilter.Entry<? extends M, ? extends I> value)

Implements abstract javax.swing.RowFilter.include.

Doc from javax.swing.RowFilter.include.

Returns true if the specified entry should be shown; returns false if the entry should be hidden.

The entry argument is valid only for the duration of the invocation. Using entry after the call returns results in undefined behavior.

Annotations
@Override
includeback to summary
protected abstract boolean include(RowFilter.Entry<? extends M, ? extends I> value, int index)
javax.swing back to summary

private Class RowFilter.NotFilter<M, I>

extends RowFilter<M, I>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private RowFilter<M, I>

Constructor Summary

AccessConstructor and Description
pack-priv
NotFilter(RowFilter<M, I> filter)

Method Summary

Modifier and TypeMethod and Description
public boolean
include(RowFilter.Entry<? extends M, ? extends I> value)

Implements abstract javax.swing.RowFilter.include.

Returns true if the specified entry should be shown; returns false if the entry should be hidden.

Inherited from javax.swing.RowFilter:
andFilterdateFilternotFilternumberFilterorFilterregexFilter

Field Detail

filterback to summary
private RowFilter<M, I> filter

Constructor Detail

NotFilterback to summary
pack-priv NotFilter(RowFilter<M, I> filter)

Method Detail

includeback to summary
public boolean include(RowFilter.Entry<? extends M, ? extends I> value)

Implements abstract javax.swing.RowFilter.include.

Doc from javax.swing.RowFilter.include.

Returns true if the specified entry should be shown; returns false if the entry should be hidden.

The entry argument is valid only for the duration of the invocation. Using entry after the call returns results in undefined behavior.

javax.swing back to summary

private Class RowFilter.NumberFilter<M, I>

extends RowFilter.GeneralFilter<M, I>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private boolean
private Number
private RowFilter.ComparisonType

Constructor Summary

AccessConstructor and Description
pack-priv
NumberFilter(RowFilter.ComparisonType type, Number number, int[] columns)

Method Summary

Modifier and TypeMethod and Description
protected boolean
include(RowFilter.Entry<? extends M, ? extends I> value, int index)

Implements abstract javax.swing.RowFilter.GeneralFilter.include.

private int
Inherited from javax.swing.RowFilter.GeneralFilter:
include

Field Detail

isComparableback to summary
private boolean isComparable
numberback to summary
private Number number
typeback to summary
private RowFilter.ComparisonType type

Constructor Detail

NumberFilterback to summary
pack-priv NumberFilter(RowFilter.ComparisonType type, Number number, int[] columns)

Method Detail

includeback to summary
protected boolean include(RowFilter.Entry<? extends M, ? extends I> value, int index)

Implements abstract javax.swing.RowFilter.GeneralFilter.include.

Annotations
@Override
@SuppressWarnings:unchecked
longCompareback to summary
private int longCompare(Number o)
javax.swing back to summary

private Class RowFilter.OrFilter<M, I>

extends RowFilter<M, I>
Class Inheritance
Known Direct Subclasses
javax.swing.RowFilter.AndFilter

Field Summary

Modifier and TypeField and Description
pack-priv List<RowFilter<? super M, ? super I>>

Constructor Summary

AccessConstructor and Description
pack-priv
OrFilter(Iterable<? extends RowFilter<? super M, ? super I>> filters)

Method Summary

Modifier and TypeMethod and Description
public boolean
include(RowFilter.Entry<? extends M, ? extends I> value)

Implements abstract javax.swing.RowFilter.include.

Returns true if the specified entry should be shown; returns false if the entry should be hidden.

Inherited from javax.swing.RowFilter:
andFilterdateFilternotFilternumberFilterorFilterregexFilter

Field Detail

filtersback to summary
pack-priv List<RowFilter<? super M, ? super I>> filters

Constructor Detail

OrFilterback to summary
pack-priv OrFilter(Iterable<? extends RowFilter<? super M, ? super I>> filters)

Method Detail

includeback to summary
public boolean include(RowFilter.Entry<? extends M, ? extends I> value)

Implements abstract javax.swing.RowFilter.include.

Doc from javax.swing.RowFilter.include.

Returns true if the specified entry should be shown; returns false if the entry should be hidden.

The entry argument is valid only for the duration of the invocation. Using entry after the call returns results in undefined behavior.

javax.swing back to summary

private Class RowFilter.RegexFilter<M, I>

extends RowFilter.GeneralFilter<M, I>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private Matcher

Constructor Summary

AccessConstructor and Description
pack-priv
RegexFilter(Pattern regex, int[] columns)

Method Summary

Modifier and TypeMethod and Description
protected boolean
include(RowFilter.Entry<? extends M, ? extends I> value, int index)

Implements abstract javax.swing.RowFilter.GeneralFilter.include.

Inherited from javax.swing.RowFilter.GeneralFilter:
include

Field Detail

matcherback to summary
private Matcher matcher

Constructor Detail

RegexFilterback to summary
pack-priv RegexFilter(Pattern regex, int[] columns)

Method Detail

includeback to summary
protected boolean include(RowFilter.Entry<? extends M, ? extends I> value, int index)

Implements abstract javax.swing.RowFilter.GeneralFilter.include.

Annotations
@Override