modele
Class PalindromeListeListe

java.lang.Object
  extended by modele.ObjectListe
      extended by modele.PalindromeListeListe

public class PalindromeListeListe
extends ObjectListe

For some results of differents structures, this class is used on high level of algorithms.

Author:
Gabriel Chandesris (2008)

Field Summary
private  PalindromeListe[] liste
          The list of PalindromeListe's
 
Constructor Summary
PalindromeListeListe()
          Default constructor with a list of 0 elements.
PalindromeListeListe(PalindromeListe[] liste)
          Constructor with a pre-made table of PalindromeListe's.
 
Method Summary
 void addPalindromeListe(Palindrome[] elt)
          To add a PalindromeListe at the end of the list.
 void addPalindromeListe(PalindromeListe elt)
          To add a PalindromeListe at the end of the list.
 PalindromeListe[] getListe()
           
 PalindromeListe getPalindromeListe(int i)
           
 boolean has(PalindromeListe elt)
          To know if a PalindromeListe is in this list.
 int length()
          To get the length of the current list of Object's
 void removePalindromeListe(int nbElt)
          To remove a Palindrome at a specific place in the list.
 void removePalindromeListe(PalindromeListe elt)
          To remove a specific Palindrome.
 void setListe(PalindromeListe[] liste)
           
 void setPalindromeListe(Palindrome[] elt, int i)
           
 void setPalindromeListe(PalindromeListe elt, int i)
           
 
Methods inherited from class modele.ObjectListe
addObjet, equals, getListeObjects, getObject, has, removeObject, removeObject, setListe, setObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

liste

private PalindromeListe[] liste
The list of PalindromeListe's

Constructor Detail

PalindromeListeListe

public PalindromeListeListe()
Default constructor with a list of 0 elements.


PalindromeListeListe

public PalindromeListeListe(PalindromeListe[] liste)
Constructor with a pre-made table of PalindromeListe's.

Parameters:
liste -
Method Detail

length

public int length()
Description copied from class: ObjectListe
To get the length of the current list of Object's

Specified by:
length in class ObjectListe
Returns:
int

getListe

public PalindromeListe[] getListe()

getPalindromeListe

public PalindromeListe getPalindromeListe(int i)

setListe

public void setListe(PalindromeListe[] liste)

setPalindromeListe

public void setPalindromeListe(PalindromeListe elt,
                               int i)

setPalindromeListe

public void setPalindromeListe(Palindrome[] elt,
                               int i)

addPalindromeListe

public void addPalindromeListe(PalindromeListe elt)
To add a PalindromeListe at the end of the list.

Parameters:
elt - PalindromeListe to add.

addPalindromeListe

public void addPalindromeListe(Palindrome[] elt)
To add a PalindromeListe at the end of the list.

Parameters:
elt - Palindrome[] to add.
See Also:
addPalindromeListe(PalindromeListe)

has

public boolean has(PalindromeListe elt)
To know if a PalindromeListe is in this list.

Parameters:
elt - PalindromeListe.
Returns:
boolean

removePalindromeListe

public void removePalindromeListe(PalindromeListe elt)
To remove a specific Palindrome.

Parameters:
elt - Palindrome to remove

removePalindromeListe

public void removePalindromeListe(int nbElt)
To remove a Palindrome at a specific place in the list.

Parameters:
nbElt - Position of the Palindrome.