|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectContenitoreOrdinabileObj
public class ContenitoreOrdinabileObj
| Constructor Summary | |
|---|---|
ContenitoreOrdinabileObj()
|
|
| Method Summary | |
|---|---|
void |
aggiungi(java.lang.Object object)
Aggiunge un elemento ridimensionando l'array se necessario. |
boolean |
isEmpty()
verifica se il contenitore e' vuoto |
void |
makeEmpty()
rende vuoto il contenitore |
void |
ordina()
ordina l'archivio usando la classe OrdinatorePerFusione |
int |
size()
|
java.lang.Object |
togliUltimo()
cancella e ritorna l'ultimo elemento inserito nel contenitore. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContenitoreOrdinabileObj()
| Method Detail |
|---|
public boolean isEmpty()
Container
isEmpty in interface Containerpublic void makeEmpty()
makeEmpty in interface Containerpublic int size()
size in interface Containerpublic void aggiungi(java.lang.Object object)
object - oggetto da aggiungere
public java.lang.Object togliUltimo()
throws java.util.NoSuchElementException
java.util.NoSuchElementException - se l'array e' vuotopublic void ordina()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||