diff options
author | Erich Schubert <erich@debian.org> | 2012-12-14 20:45:15 +0100 |
---|---|---|
committer | Andrej Shadura <andrewsh@debian.org> | 2019-03-09 22:30:35 +0000 |
commit | 357b2761a2c0ded8cad5e4d3c1e667b7639ff7a6 (patch) | |
tree | 3dd8947bb70a67c221adc3cd4359ba1d385e2f3c /src/de/lmu/ifi/dbs/elki/datasource/filter/AbstractConversionFilter.java | |
parent | 4343785ebed9d4145f417d86d581f18a0d31e4ac (diff) | |
parent | b7b404fd7a726774d442562d11659d7b5368cdb9 (diff) |
Import Debian changes 0.5.5-1
elki (0.5.5-1) unstable; urgency=low
* New upstream release: 0.5.5 interim release.
Diffstat (limited to 'src/de/lmu/ifi/dbs/elki/datasource/filter/AbstractConversionFilter.java')
-rw-r--r-- | src/de/lmu/ifi/dbs/elki/datasource/filter/AbstractConversionFilter.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/de/lmu/ifi/dbs/elki/datasource/filter/AbstractConversionFilter.java b/src/de/lmu/ifi/dbs/elki/datasource/filter/AbstractConversionFilter.java index 34fb6bad..5948cd83 100644 --- a/src/de/lmu/ifi/dbs/elki/datasource/filter/AbstractConversionFilter.java +++ b/src/de/lmu/ifi/dbs/elki/datasource/filter/AbstractConversionFilter.java @@ -45,6 +45,9 @@ public abstract class AbstractConversionFilter<I, O> implements ObjectFilter { * * In the main pass, each object is then filtered using * {@link #filterSingleObject}. + * + * @param objects Objects to filter + * @return Filtered bundle */ @Override public MultipleObjectsBundle filter(MultipleObjectsBundle objects) { @@ -100,14 +103,14 @@ public abstract class AbstractConversionFilter<I, O> implements ObjectFilter { * @param obj Database object to normalize * @return Normalized database object */ - abstract protected O filterSingleObject(I obj); + protected abstract O filterSingleObject(I obj); /** * Get the input type restriction used for negotiating the data query. * * @return Type restriction */ - abstract protected SimpleTypeInformation<? super I> getInputTypeRestriction(); + protected abstract SimpleTypeInformation<? super I> getInputTypeRestriction(); /** * Get the output type from the input type after conversion. @@ -115,10 +118,10 @@ public abstract class AbstractConversionFilter<I, O> implements ObjectFilter { * @param in input type restriction * @return output type restriction */ - abstract protected SimpleTypeInformation<? super O> convertedType(SimpleTypeInformation<I> in); + protected abstract SimpleTypeInformation<? super O> convertedType(SimpleTypeInformation<I> in); /** - * Return "true" when the normalization needs initialization (two-pass filtering!) + * Return "true" when the normalization needs initialization (two-pass filtering!). * * @param in Input type information * @return true or false @@ -137,7 +140,7 @@ public abstract class AbstractConversionFilter<I, O> implements ObjectFilter { } /** - * Complete the initialization phase + * Complete the initialization phase. */ protected void prepareComplete() { // optional - default NOOP. |