|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.simbad.MagnitudeList
Field Summary | |
private static CompareByFilter |
cbf
|
private java.util.ArrayList |
maglist
|
private MagnitudePecul |
magpecul
|
private boolean |
sorted
|
Constructor Summary | |
MagnitudeList()
Empty constructor |
Method Summary | |
void |
addMagnitude(Magnitude mag)
Add a Magnitude to the list |
void |
clear()
Clears the magnitude list and reset other internal data. |
boolean |
equals(java.lang.Object o)
MOD-BB 21-01-04 Ajout de cette methode. |
Magnitude |
getMagnitude(int n)
Get the nth magnitude object in the list |
Magnitude |
getMagnitude(java.lang.String filtername)
Returns the Magnitude object corresponding to a filter name |
MagnitudePecul |
getPeculiarities()
Returns the peculiarities object |
int |
getSize()
Get the size of the list (number of magnitudes defined) |
boolean |
isEmpty()
Checks if the magnitude list is empty |
java.util.Iterator |
iterator()
Returns an iterator on the magnitudes object contaned in the list. |
void |
setPeculiarities(MagnitudePecul mpec)
Sets the pecularities for the group of magnitudes. |
void |
setPeculiarities(java.lang.String strpecul)
Sets the pecularities for the group of magnitudes. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final CompareByFilter cbf
private java.util.ArrayList maglist
private boolean sorted
private MagnitudePecul magpecul
Constructor Detail |
public MagnitudeList()
Method Detail |
public void clear()
public boolean isEmpty()
public void addMagnitude(Magnitude mag)
mag
- Magnitude object to addpublic void setPeculiarities(MagnitudePecul mpec)
mpec
- peculiarities objectpublic void setPeculiarities(java.lang.String strpecul)
strpecul
- peculiarities string (V[01234?]D)public MagnitudePecul getPeculiarities()
public Magnitude getMagnitude(int n)
n
- index of the magnitude to return
public Magnitude getMagnitude(java.lang.String filtername)
filtername
- name of the filter
public int getSize()
public java.util.Iterator iterator()
public boolean equals(java.lang.Object o)
o
- Objet a comparer.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |