TV-Browser 2.7.5 API

tvbrowser.core.search.booleansearch
Class MultiAnd

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

public class MultiAnd
extends Object
implements Block

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

Author:
Gilson Laurent, pumpkin@gmx.de

Field Summary
 Block[] blocks
           
 
Constructor Summary
MultiAnd(And a, 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

MultiAnd

public MultiAnd(And a,
                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)