|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodele.ObjectListe
alonefichiers.BooleanListe
public class BooleanListe
To provide a set of Boolean's.
Interface1.actionPerformed(ActionEvent)
,
ObjectListe
Field Summary | |
---|---|
private java.lang.Boolean[] |
liste
The list of Boolean's. |
Constructor Summary | |
---|---|
BooleanListe()
Default constructor with a list of 0 elements. |
|
BooleanListe(java.lang.Boolean[] liste)
Constructor with a pre-made table of Boolean's. |
Method Summary | |
---|---|
void |
addBoolean(java.lang.Boolean elt)
To add a Boolean at the end of the list. |
java.lang.Boolean |
getBoolean(int i)
|
java.lang.Boolean[] |
getListeBoolean()
|
boolean |
has(java.lang.Boolean elt)
To know if a Boolean is in this list. |
int |
length()
To get the length of the current list of Boolean's. |
void |
removeBoolean(java.lang.Boolean elt)
To remove a specific Boolean. |
void |
removeBoolean(int nbElt)
To remove a Boolean at a specific place in the list. |
void |
setBoolean(java.lang.Boolean elt,
int i)
|
void |
setListe(java.lang.Boolean[] liste)
|
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 |
---|
private java.lang.Boolean[] liste
Constructor Detail |
---|
public BooleanListe()
public BooleanListe(java.lang.Boolean[] liste)
liste
- Method Detail |
---|
public int length()
length
in class ObjectListe
public java.lang.Boolean[] getListeBoolean()
public java.lang.Boolean getBoolean(int i)
public void setListe(java.lang.Boolean[] liste)
public void setBoolean(java.lang.Boolean elt, int i)
public void addBoolean(java.lang.Boolean elt)
elt
- Palindrome to add.public boolean has(java.lang.Boolean elt)
elt
- Boolean.
public void removeBoolean(java.lang.Boolean elt)
elt
- Boolean to removepublic void removeBoolean(int nbElt)
nbElt
- Position of the Boolean.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |