|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTurma
Turma = Codigo(String) -> FichaAluno
Constructor Summary | |
Turma()
Construtores |
Method Summary | |
ArrayList |
alunosNotaSuperior(double notaRef)
Cria a lista com os códigos dos alunos com nota superior à dada como parâmetro (exº códigos dos alunos com nota > 12). |
boolean |
existeAluno(String numAluno)
Verifica se um dado aluno cujo código é dado está registado |
void |
insereAluno1(String codAluno,
FichaAluno ficha)
|
void |
insereAluno2(FichaAluno ficha)
Insere um novo aluno na turma |
double |
maiorNotaTurma()
Determina a maiorNota da turma |
int |
numAlunos()
Devolve o número actual de alunos da turma |
void |
removeAluno(String codAluno)
Remove o aluno de código dado como parametro |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Turma()
Method Detail |
public ArrayList alunosNotaSuperior(double notaRef)
public boolean existeAluno(String numAluno)
public void insereAluno1(String codAluno, FichaAluno ficha)
public void insereAluno2(FichaAluno ficha)
public double maiorNotaTurma()
public int numAlunos()
public void removeAluno(String codAluno)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |