tvbrowser.core.search.booleansearch
Class OperandMatcher
java.lang.Object
tvbrowser.core.search.booleansearch.OperandMatcher
- All Implemented Interfaces:
- IMatcher
- Direct Known Subclasses:
- AndMatcher, OrMatcher
abstract class OperandMatcher
- extends java.lang.Object
- implements IMatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface tvbrowser.core.search.booleansearch.IMatcher |
matches |
subMatcher
protected java.util.ArrayList<IMatcher> subMatcher
OperandMatcher
protected OperandMatcher(IMatcher left,
IMatcher right)
OperandMatcher
protected OperandMatcher(OperandMatcher leftOp,
OperandMatcher rightOp)
optimize
public IMatcher optimize()
- Description copied from interface:
IMatcher
- Initialisiert und optimiert den IMatcher. Da der IMatcher u.U. ausgetauscht
werden muss gibt die Methode einen (neuen) IMatcher zurück. Dieser ist zu
verwenden.
- Specified by:
optimize
in interface IMatcher
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getOperandString
protected abstract java.lang.String getOperandString()
TV-Browser 3.3.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)