亚冠2017中央5套转播吗

亚冠2017中央5套转播吗
2025-01-19 23:19:48
推荐回答(2个)
回答1:

亚冠2017资格赛,中央5套暂时没有转播,正赛再看看有没有转播吧。

回答2:

import java.io.BufferedReader;import java.io.File;import java.io.FileReader;import java.util.ArrayList;import java.util.List;import java.util.Scanner; public class BookWork { static List data; private static Scanner input; public static void main(String[] args) { if (!initBook("d:/book.txt")) { System.out.println("初始图书列表失败 .."); return; } input = new Scanner(System.in); while (true) { try { System.out.println("请输入操作:"); System.out.println("1.找书 2.删除图书 3.退出"); int number = Integer.parseInt(input.next()); if (number == 1) { findBook(); } else if (number == 2) { delBook(); } else if (number == 3) { System.out.println("退出"); break; } else { System.out.println("这个不是我要的...重来..."); System.out.println(); } } catch (Exception e) { e.printStackTrace(); System.out.println("这个不是我要的...重来..."); System.out.println(); } } } private static void delBook() { System.out.println("请输入要删除的书名或编号:"); String key = input.next(); if (key != null && !key.equals("")) { for (Book book : data) { if (book.number.equals(key) || book.name.contains(key)) { data.remove(book); System.out.println(" 图书 " + book.toString() + " 已删除"); return; } } } System.out.println("没有您要删除的"); } private static void findBook() { System.out.println("请输入要查找的书名或编号:"); String key = input.next(); if (key != null && !key.equals("")) { for (Book book : data) { if (book.number.equals(key) || book.name.contains(key)) { System.out.println("找到了 图书 " + book.toString()); return; } } } System.out.println("没有您要找的"); } private static boolean initBook(String string) { try { System.out.println("图书导入中..."); System.out.println("列表文件 -- " + string); File file = new File(string); if (!file.exists()) { return false; } data = new ArrayList(); BufferedReader bufferedReader = new BufferedReader(new FileReader(file)); String line = ""; while ((line = bufferedReader.readLine()) != null) { String[] strings = line.split(