Removido arquivos temporários

This commit is contained in:
2022-10-23 22:53:29 -04:00
parent 7e62ed2a88
commit 27fae412d0
22 changed files with 286 additions and 50 deletions

View File

@@ -0,0 +1,10 @@
package interfaces;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;
import java.util.Map;
public interface ApuracaoInterface extends Remote {
public Map<Integer, Integer> calcularVotos(List<Integer> votos) throws RemoteException;
}

View File

@@ -1,7 +0,0 @@
package interfaces;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface IsEvenInterface extends Remote {
public boolean is_even(int x) throws RemoteException;
}

View File

@@ -3,12 +3,16 @@ package interfaces;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;
import java.util.Map;
import implementacoes.CandidatoImpl;
import implementacoes.VotoImpl;
public interface VotacaoInterface extends Remote {
public List<CandidatoImpl> listarCandidatos() throws RemoteException;
public int salvarVoto(int posicao) throws RemoteException;
public int buscarCandidato(String numero) throws RemoteException;
public void apuracao() throws RemoteException;
public List<VotoImpl> getVotos() throws RemoteException;
public void mostrar_apuracao(Map<Integer, Integer> apuracao) throws RemoteException;
}

View File

@@ -0,0 +1,10 @@
package interfaces;
import java.rmi.RemoteException;
import implementacoes.CandidatoImpl;
public interface VotoInterface {
public CandidatoImpl getCandidato() throws RemoteException;;
public String getIdentificador() throws RemoteException;;
}