Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Fila {
- private ListaEncadeadaDupla fila;
- public Fila() {
- this.fila = new ListaEncadeadaDupla();
- }
- public void insere(int dado) {
- fila.insereUltimo(dado);
- }
- public Node remove() {
- Node aux = fila.getLista();
- fila.removePrimeiro();
- return aux;
- }
- public void mostrar_fila() {
- fila.imprime();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment