|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsrc.SuiteDeChar
src.Phrase
public class Phrase
| Field Summary | |
|---|---|
Vocabulaire |
first
|
SuiteDeChar |
suite
|
| Constructor Summary | |
|---|---|
Phrase(Vocabulaire v,
SuiteDeChar sc)
head construction for Phrase |
|
| Method Summary | |
|---|---|
int |
compterMots()
Calculate the number of words. |
int |
compterVoyelles()
Compute the number of vowels. |
boolean |
estMot()
Check if it is a word or not. |
Vocabulaire |
getFirst()
|
SuiteDeChar |
getSuite()
|
int |
longueur()
Compute the number of letters and spaces. |
Phrase |
majusculiser()
Create a new phrase with only one upper case letter. |
void |
setFirst(Vocabulaire first)
|
void |
setSuite(SuiteDeChar suite)
|
java.lang.String |
toString()
String representation. |
SuiteDeChar |
toutesMinus()
Transform all letters into lower case letters. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public SuiteDeChar suite
public Vocabulaire first
| Constructor Detail |
|---|
public Phrase(Vocabulaire v,
SuiteDeChar sc)
v - sc - | Method Detail |
|---|
public int longueur()
SuiteDeChar
longueur in class SuiteDeCharpublic java.lang.String toString()
toString in class SuiteDeCharpublic int compterMots()
compterMots in class SuiteDeCharpublic SuiteDeChar toutesMinus()
toutesMinus in class SuiteDeCharpublic int compterVoyelles()
compterVoyelles in class SuiteDeCharpublic Phrase majusculiser()
public boolean estMot()
estMot in class SuiteDeCharpublic SuiteDeChar getSuite()
public void setSuite(SuiteDeChar suite)
public Vocabulaire getFirst()
public void setFirst(Vocabulaire first)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||