Hilbert II - Version 0.02.01

org.qedeq.kernel.bo.module
Class LinkListBo

java.lang.Object
  extended byorg.qedeq.kernel.bo.module.LinkListBo
All Implemented Interfaces:
LinkList

public final class LinkListBo
extends Object
implements LinkList

List of links. A link is just a string that identifies something.

Version:
$Revision: 1.2 $

Constructor Summary
LinkListBo()
          Constructs an empty list of links.
 
Method Summary
 void add(String id)
          Add link to list.
 boolean equals(Object obj)
           
 String 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

LinkListBo

public LinkListBo()
Constructs an empty list of links.

Method Detail

add

public final void add(String id)
Add link to list.

Parameters:
id - Identifier to add.

size

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

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

get

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

Specified by:
get in interface LinkList
Parameters:
index - Index.
Returns:
Index-th element. This is an identifier (id).

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.