|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.simbad.AstrobjectList
Titre : AstrobjectList.java
Description : Gere une liste d'objets astronomiques
Copyright : Copyright (c) 2002
Société :
Field Summary | |
private java.util.ArrayList |
astrobjectList
|
private static Parameters |
pdata
|
Constructor Summary | |
AstrobjectList()
Constructeur sans parametre |
|
AstrobjectList(java.util.ArrayList list)
Constructeur avec un ArrayList en parametre |
|
AstrobjectList(AstrobjectList astrolist)
Constructeur par copie |
Method Summary | |
void |
add(Astrobject astrobject)
Ajout d'un objet astronomique |
void |
add(int index,
Astrobject astrobject)
Insertion d'un objet astronomique a une position donnee |
void |
add(int int0,
java.lang.Object object)
|
boolean |
add(java.lang.Object object)
|
boolean |
addAll(java.util.Collection collection)
|
boolean |
addAll(int int0,
java.util.Collection collection)
|
void |
clear()
Suppression de tous les elements de la liste |
boolean |
contains(java.lang.Object object)
|
boolean |
containsAll(java.util.Collection collection)
|
boolean |
equals(java.lang.Object object)
|
java.lang.Object |
get(int index)
Acces aux objets astronomiques (index commence a 0) |
java.util.ArrayList |
getAstrobjectList()
|
Parameters |
getPdata()
|
int |
hashCode()
|
int |
indexOf(java.lang.Object object)
|
boolean |
isEmpty()
Teste si la liste n'a pas d'elements |
java.util.Iterator |
iterator()
Retourne un iterateur sur la liste des objets astronomiques |
int |
lastIndexOf(java.lang.Object object)
|
java.util.ListIterator |
listIterator()
|
java.util.ListIterator |
listIterator(int int0)
|
void |
remove(Astrobject astrobject)
Suppression d'un objet astronomique |
java.lang.Object |
remove(int index)
Suppression d'un objet astronomique suivant sa position dans la liste |
boolean |
remove(java.lang.Object object)
|
boolean |
removeAll(java.util.Collection collection)
|
boolean |
retainAll(java.util.Collection collection)
|
void |
set(java.util.ArrayList list)
Positionnement de l'attribut astrobjectList |
void |
set(int index,
Astrobject astrobject)
Modification d'un objet astronomique |
java.lang.Object |
set(int int0,
java.lang.Object object)
|
void |
setAstrobjectList(java.util.ArrayList astrobjectList)
|
void |
setPdata(Parameters p)
|
int |
size()
Retourne la taille de la liste |
java.util.List |
subList(int int0,
int int1)
|
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] objectArray)
|
java.lang.String |
toString()
Edition de la liste des objets astronomiques |
void |
toXML(java.io.OutputStream output)
Sortie VOTable de la liste des objets astronomiques |
void |
toXML(VOTable vt)
Sortie VOTable de la liste des objets astronomiques |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.util.ArrayList astrobjectList
private static Parameters pdata
Constructor Detail |
public AstrobjectList()
public AstrobjectList(java.util.ArrayList list)
list
- liste d'objets astronomiquespublic AstrobjectList(AstrobjectList astrolist)
astrolist
- AstrobjectList object to copy in the new oneMethod Detail |
public void add(Astrobject astrobject)
astrobject
- objet astronomique a ajouterpublic void add(int index, Astrobject astrobject)
index
- position de l'insertionastrobject
- object astronomique a insererpublic java.lang.Object get(int index) throws java.lang.IndexOutOfBoundsException
get
in interface java.util.List
index
- index de l'element accede
java.lang.IndexOutOfBoundsException
public void set(int index, Astrobject astrobject) throws java.lang.IndexOutOfBoundsException
index
- index de l'element a modifierastrobject
- nouvel objet astronomique
java.lang.IndexOutOfBoundsException
public void set(java.util.ArrayList list)
list
- liste d'objets astronomiquespublic void remove(Astrobject astrobject)
astrobject
- objet astronomique a supprimerpublic java.lang.Object remove(int index) throws java.lang.IndexOutOfBoundsException
remove
in interface java.util.List
index
- index de l'objet a supprimer
java.lang.IndexOutOfBoundsException
- // MOD-BB 05/11/03 Renvoie un Object pour être conforme à l'interface List.public int size()
size
in interface java.util.List
public java.util.Iterator iterator()
iterator
in interface java.util.List
public void clear()
clear
in interface java.util.List
public boolean isEmpty()
isEmpty
in interface java.util.List
public void toXML(java.io.OutputStream output)
output
- sortie xmlpublic void toXML(VOTable vt)
toXML
in interface SimbadObject
vt
- VOTablepublic java.lang.String toString()
toString
in interface SimbadObject
public java.util.ArrayList getAstrobjectList()
public void setAstrobjectList(java.util.ArrayList astrobjectList)
public Parameters getPdata()
public void setPdata(Parameters p)
public boolean contains(java.lang.Object object)
contains
in interface java.util.List
public java.lang.Object[] toArray()
toArray
in interface java.util.List
public java.lang.Object[] toArray(java.lang.Object[] objectArray)
toArray
in interface java.util.List
public boolean add(java.lang.Object object)
add
in interface java.util.List
public boolean remove(java.lang.Object object)
remove
in interface java.util.List
public boolean containsAll(java.util.Collection collection)
containsAll
in interface java.util.List
public boolean addAll(java.util.Collection collection)
addAll
in interface java.util.List
public boolean removeAll(java.util.Collection collection)
removeAll
in interface java.util.List
public boolean retainAll(java.util.Collection collection)
retainAll
in interface java.util.List
public boolean equals(java.lang.Object object)
equals
in interface java.util.List
public int hashCode()
hashCode
in interface java.util.List
public boolean addAll(int int0, java.util.Collection collection)
addAll
in interface java.util.List
public java.lang.Object set(int int0, java.lang.Object object)
set
in interface java.util.List
public void add(int int0, java.lang.Object object)
add
in interface java.util.List
public int indexOf(java.lang.Object object)
indexOf
in interface java.util.List
public int lastIndexOf(java.lang.Object object)
lastIndexOf
in interface java.util.List
public java.util.ListIterator listIterator()
listIterator
in interface java.util.List
public java.util.ListIterator listIterator(int int0)
listIterator
in interface java.util.List
public java.util.List subList(int int0, int int1)
subList
in interface java.util.List
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |