org.qedeq.kernel.se.dto.module
Class SubsectionListVo

java.lang.Object
  extended by org.qedeq.kernel.se.dto.module.SubsectionListVo
All Implemented Interfaces:
SubsectionList

public class SubsectionListVo
extends java.lang.Object
implements SubsectionList

List of nodes. In LaTeX terms a node is something like an "subsection".

Author:
Michael Meyling

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

Constructor Detail

SubsectionListVo

public SubsectionListVo()
Constructs an empty node list.

Method Detail

add

public final void add(SubsectionType subsection)
Add subsection to this list.

Parameters:
subsection - Subsection to add.

size

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

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

get

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

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2014. All Rights Reserved.