TV-Browser 2.7.5 API

tvbrowser.core.search.booleansearch
Class MultiOr

java.lang.Object
  extended by tvbrowser.core.search.booleansearch.MultiOr
All Implemented Interfaces:
Block

public class MultiOr
extends Object
implements Block

Implementiert OR-Ketten wie: Wort OR Wort OR Wort Wird eingesetzt um Konstruktion a la: Wort OR (Wort OR (Wort OR Wort)) zu vermeiden

Author:
Gilson Laurent, pumpkin@gmx.de

Field Summary
 Block[] blocks
           
 
Constructor Summary
MultiOr(Or o, Block b2)
           
 
Method Summary
 Block finish()
          Initialisiert und optimiert den Block.
 boolean test(String s)
          Testet einen String.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

blocks

public Block[] blocks
Constructor Detail

MultiOr

public MultiOr(Or o,
               Block b2)
Method Detail

test

public boolean test(String s)
Description copied from interface: Block
Testet einen String. Gibt true zurück wenn die Bedinung erfüllt ist

Specified by:
test in interface Block

finish

public Block finish()
Description copied from interface: Block
Initialisiert und optimiert den Block. Da der Block u.U. ausgetauscht werden muss gibt die Methode einen (neuen) Block zurück. Dieser ist zu verwenden.

Specified by:
finish in interface Block

toString

public String toString()
Overrides:
toString in class Object

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)