de.lmu.ifi.dbs.elki.datasource.filter
Class FilterByLabelFilter

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.datasource.filter.FilterByLabelFilter
All Implemented Interfaces:
ObjectFilter

public class FilterByLabelFilter
extends Object
implements ObjectFilter

A filter to sort the data set by some label.


Nested Class Summary
static class FilterByLabelFilter.Parameterizer
          Parameterization class.
 
Field Summary
private  boolean inverted
          Inversion flag
private static Logging logger
          Class logger
private  Pattern pattern
          The filter pattern
 
Constructor Summary
FilterByLabelFilter(Pattern pattern, boolean inverted)
          Constructor.
 
Method Summary
 MultipleObjectsBundle filter(MultipleObjectsBundle objects)
          Filter a set of object packages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final Logging logger
Class logger


pattern

private final Pattern pattern
The filter pattern


inverted

private final boolean inverted
Inversion flag

Constructor Detail

FilterByLabelFilter

public FilterByLabelFilter(Pattern pattern,
                           boolean inverted)
Constructor.

Parameters:
pattern - Filter pattern
inverted - Inversion flag
Method Detail

filter

public MultipleObjectsBundle filter(MultipleObjectsBundle objects)
Description copied from interface: ObjectFilter
Filter a set of object packages.

Specified by:
filter in interface ObjectFilter
Parameters:
objects - Object to filter
Returns:
Filtered objects

Release 0.4.0 (2011-09-20_1324)