TV-Browser 2.7.5 API

tvbrowser.core.search.booleansearch
Class Or

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

public class Or
extends Object
implements Block

Implementiert logische oder-Verknüpfung zwischen 2 Blocks

Author:
Gilson Laurent, pumpkin@gmx.de

Field Summary
(package private)  Block block1
           
(package private)  Block block2
           
 
Constructor Summary
Or(Block b1, 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

block1

Block block1

block2

Block block2
Constructor Detail

Or

public Or(Block b1,
          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)