⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.java

📁 Program that uses a doc as database, and allows modifications at theses doc s
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package laforehash;import java.util.Scanner;import java.io.*;/////////////////////////////////////////////////////////////////** * * @author Usuario */    /**     * @param args the command line arguments     */    class Lafore    {private static HashTable theHashTable = new HashTable(10);private static Arquivos file = new Arquivos();private static SortedList listavagas= new SortedList();private static SortedList listaempresas= new SortedList(); private static Menu menu = new Menu();public static void main(String[] args) throws IOException {       System.out.println("Inicializar arquivos previos? Sim ou Nao ");        Scanner escolha = new Scanner(System.in);    String choice = escolha.nextLine();    if(choice.equalsIgnoreCase("sim"))    {                  try        {              theHashTable = file.filecandidato();            listaempresas = file.fileempresas();            listavagas = file.filesolicitacoes();        }        catch(FileNotFoundException e) {                    System.out.println("Ocorreu um erro durante a leitura do arquivo" + " - " + e.getMessage());                 int erro = 0;                 System.exit(erro);        }      }    menu.escolha(theHashTable, listavagas, listaempresas);} //-------------------------------------------------------------//-------------------------------------------------------------}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -