|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorigincomment.Palindrome1
public class Palindrome1
Main class for palindromes
Palindrome1cible
,
Palindrome1test
,
ADN1cible
Field Summary | |
---|---|
protected int |
positionDebut
Begin position. |
protected int |
positionFin
End position. |
Constructor Summary | |
---|---|
protected |
Palindrome1()
Default constructor : nothing happend. |
protected |
Palindrome1(int debut,
int fin)
Constructor with given begin and end of the palindrome. |
Method Summary | |
---|---|
void |
change_position_debut(int pos)
|
void |
change_position_fin(int pos)
|
protected void |
load_File(java.io.BufferedReader entree)
To read the beginning and the end of a palindrome in a BufferedReader input (two lines). |
int |
quelle_position_debut()
|
int |
quelle_position_fin()
|
protected void |
to_File(java.io.PrintWriter sortie)
To print begin and end of palindrome in a PrintWriter output |
java.lang.String |
toString_web()
Some changes to this procedure to make results appears for web / HTML. |
java.lang.String |
toString()
"Methode toString pour permettre l'affichage des caracteristiques de chaque palindrome de la sequence." |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int positionDebut
protected int positionFin
Constructor Detail |
---|
protected Palindrome1()
Palindrome1cible.Palindrome1cible()
protected Palindrome1(int debut, int fin)
debut
- (int) beginfin
- (int) endPalindrome1cible.Palindrome1cible(int, int, int)
,
Palindrome1cible.Palindrome1cible(int, int, int, int)
,
Palindrome1cible.Palindrome1cible(int, int, int, int, int)
,
Palindrome1test.Palindrome1test(int, int, int, int)
Method Detail |
---|
public int quelle_position_debut()
public int quelle_position_fin()
public void change_position_debut(int pos)
public void change_position_fin(int pos)
protected void to_File(java.io.PrintWriter sortie)
sortie
- protected void load_File(java.io.BufferedReader entree) throws java.lang.Exception
entree
- (BufferedReader)
java.lang.Exception
- eADN1cible.load_File(BufferedReader)
,
Palindrome1cible.load_File(BufferedReader)
,
Interface12.setInterface(Profil, String, Palindrome1cible, int)
public java.lang.String toString()
toString
in class java.lang.Object
ADN1cible.afficher_Caracteristique()
,
Palindrome1cible.toString()
public java.lang.String toString_web()
ADN1cible.afficher_Caracteristique_Web()
,
Palindrome1cible.toString_web()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |