Hilbert II - Version 0.03.01

org.qedeq.kernel.dto.module
Class LinkListVo

java.lang.Object
  extended byorg.qedeq.kernel.dto.module.LinkListVo
All Implemented Interfaces:
LinkList

public final class LinkListVo
extends Object
implements LinkList

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

Version:
$Revision: 1.2 $

Constructor Summary
LinkListVo()
          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

LinkListVo

public LinkListVo()
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.03.01

©left GNU General Public Licence
All Rights Reserved.