cz.cuni.mff.ksi.jinfer.twostep.cleaning.cleanernull
Class Null<T>
java.lang.Object
cz.cuni.mff.ksi.jinfer.twostep.cleaning.cleanernull.Null<T>
- All Implemented Interfaces:
- RegularExpressionCleaner<T>
public class Null<T>
- extends Object
- implements RegularExpressionCleaner<T>
Does nothing, just returns input given.
Constructor Summary |
Null()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Null
public Null()
cleanRegularExpression
public Regexp<T> cleanRegularExpression(Regexp<T> regexp)
- Description copied from interface:
RegularExpressionCleaner
- Clean given regular expression.
Returns new regexp which should be nicer in some way (no empty constructs, or
no shorter form). But which has to express same language.
- Specified by:
cleanRegularExpression
in interface RegularExpressionCleaner<T>
- Parameters:
regexp
- regexp to clean
- Returns:
- cleaned regexp.
Generated on Fri Dec 9 00:01:25 CET 2011