Hilbert II - Version 0.02.01

org.qedeq.kernel.bo.module
Class LatexListBo

java.lang.Object
  extended byorg.qedeq.kernel.bo.module.LatexListBo
All Implemented Interfaces:
LatexList

public final class LatexListBo
extends Object
implements LatexList

List of LaTeX text parts.

Version:
$Revision: 1.7 $

Constructor Summary
LatexListBo()
          Constructs an empty list of LaTeX text parts.
 
Method Summary
 void add(Latex latex)
          Add LaTeX text to this list.
 boolean equals(Object obj)
           
 Latex get(int index)
          Get index-th element of list.
 int hashCode()
           
 int size()
          Get size of list.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LatexListBo

public LatexListBo()
Constructs an empty list of LaTeX text parts.

Method Detail

add

public final void add(Latex latex)
               throws NullPointerListEntryException,
                      DuplicateLanguageEntryException
Add LaTeX text to this list.

Parameters:
latex - Text to add.
Throws:
NullPointerListEntryException - Tried to add NullPointer.
DuplicateLanguageEntryException - Language entry already exists.

size

public final int size()
Description copied from interface: LatexList
Get size of list.

Specified by:
size in interface LatexList
Returns:
List size.

get

public final Latex get(int index)
Description copied from interface: LatexList
Get index-th element of list.

Specified by:
get in interface LatexList
Parameters:
index - Index.
Returns:
Index-th element.

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

toString

public String toString()

Hilbert II - Version 0.02.01

©left GNU General Public Licence
All Rights Reserved.