diff --git a/.vs/Java/v16/.suo b/.vs/Java/v16/.suo new file mode 100644 index 00000000..0049ef20 Binary files /dev/null and b/.vs/Java/v16/.suo differ diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json new file mode 100644 index 00000000..f491c6dd --- /dev/null +++ b/.vs/ProjectSettings.json @@ -0,0 +1,8 @@ +{ + "java.jdt.ls.java.home": "D:\\project\\java\\JDK17", + "java.project.sourcePaths": ["src"], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] +} \ No newline at end of file diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 00000000..7ac7a1cd --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,10 @@ +{ + "ExpandedNodes": [ + "", + "\\day01", + "\\day01\\code", + "\\day01\\code\\01_HelloWorld案例" + ], + "SelectedNode": "\\day01\\code\\01_HelloWorld案例\\HelloWorld.java", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 00000000..612178cb Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..8a1dea7e --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,1931 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "java", + "name": "Launch HelloWorld", + "request": "launch", + "mainClass": "HelloWorld" + }, + { + "type": "java", + "name": "Launch Current File", + "request": "launch", + "mainClass": "${file}" + }, + { + "type": "java", + "name": "Launch LoginJFrame", + "request": "launch", + "mainClass": "cn.itcast.view.LoginJFrame", + "projectName": "Eclipse版本的登录注册" + }, + { + "type": "java", + "name": "Launch Client", + "request": "launch", + "mainClass": "com.elient.Client", + "projectName": "chat_socket_client" + }, + { + "type": "java", + "name": "Launch Server", + "request": "launch", + "mainClass": "com.server.Server", + "projectName": "chat_socket_server" + }, + { + "type": "java", + "name": "Launch StudentDemo", + "request": "launch", + "mainClass": "cn.itcast_01.StudentDemo", + "projectName": "day11_Object" + }, + { + "type": "java", + "name": "Launch StudentDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.StudentDemo", + "projectName": "day11_Object" + }, + { + "type": "java", + "name": "Launch StudentDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_03.StudentDemo", + "projectName": "day11_Object" + }, + { + "type": "java", + "name": "Launch ScannerDemo", + "request": "launch", + "mainClass": "cn.itcast_01.ScannerDemo", + "projectName": "day12_Scanner" + }, + { + "type": "java", + "name": "Launch ScannerDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.ScannerDemo", + "projectName": "day12_Scanner" + }, + { + "type": "java", + "name": "Launch ScannerDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_03.ScannerDemo", + "projectName": "day12_Scanner" + }, + { + "type": "java", + "name": "Launch ScannerDemo2", + "request": "launch", + "mainClass": "cn.itcast_03.ScannerDemo2", + "projectName": "day12_Scanner" + }, + { + "type": "java", + "name": "Launch StringDemo", + "request": "launch", + "mainClass": "cn.itcast_01.StringDemo", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.StringDemo", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringDemo2", + "request": "launch", + "mainClass": "cn.itcast_02.StringDemo2", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringDemo3", + "request": "launch", + "mainClass": "cn.itcast_02.StringDemo3", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringDemo4", + "request": "launch", + "mainClass": "cn.itcast_02.StringDemo4", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_03.StringDemo", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringTest", + "request": "launch", + "mainClass": "cn.itcast_03.StringTest", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringDemo(3)", + "request": "launch", + "mainClass": "cn.itcast_04.StringDemo", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringTest(1)", + "request": "launch", + "mainClass": "cn.itcast_04.StringTest", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringTest2", + "request": "launch", + "mainClass": "cn.itcast_04.StringTest2", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringDemo(4)", + "request": "launch", + "mainClass": "cn.itcast_05.StringDemo", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringTest(2)", + "request": "launch", + "mainClass": "cn.itcast_05.StringTest", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringDemo(5)", + "request": "launch", + "mainClass": "cn.itcast_06.StringDemo", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringDemo2(1)", + "request": "launch", + "mainClass": "cn.itcast_06.StringDemo2", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringDemo3(1)", + "request": "launch", + "mainClass": "cn.itcast_06.StringDemo3", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringTest(3)", + "request": "launch", + "mainClass": "cn.itcast_07.StringTest", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringTest2(1)", + "request": "launch", + "mainClass": "cn.itcast_07.StringTest2", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringTest3", + "request": "launch", + "mainClass": "cn.itcast_07.StringTest3", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringTest4", + "request": "launch", + "mainClass": "cn.itcast_07.StringTest4", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch StringTest(4)", + "request": "launch", + "mainClass": "cn.itcast_08.StringTest", + "projectName": "day12_String" + }, + { + "type": "java", + "name": "Launch ArrayDemo", + "request": "launch", + "mainClass": "cn.itcast_01.ArrayDemo", + "projectName": "day13_Array_Arrays" + }, + { + "type": "java", + "name": "Launch ArrayDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.ArrayDemo", + "projectName": "day13_Array_Arrays" + }, + { + "type": "java", + "name": "Launch ArrayDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_03.ArrayDemo", + "projectName": "day13_Array_Arrays" + }, + { + "type": "java", + "name": "Launch ArrayDemo(3)", + "request": "launch", + "mainClass": "cn.itcast_04.ArrayDemo", + "projectName": "day13_Array_Arrays" + }, + { + "type": "java", + "name": "Launch ArraysDemo", + "request": "launch", + "mainClass": "cn.itcast_05.ArraysDemo", + "projectName": "day13_Array_Arrays" + }, + { + "type": "java", + "name": "Launch CharacterDemo", + "request": "launch", + "mainClass": "cn.itcast_01.CharacterDemo", + "projectName": "day13_Character" + }, + { + "type": "java", + "name": "Launch CharacterDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.CharacterDemo", + "projectName": "day13_Character" + }, + { + "type": "java", + "name": "Launch IntegerDemo", + "request": "launch", + "mainClass": "cn.itcast_01.IntegerDemo", + "projectName": "day13_Integer" + }, + { + "type": "java", + "name": "Launch IntegerDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.IntegerDemo", + "projectName": "day13_Integer" + }, + { + "type": "java", + "name": "Launch IntegerDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_03.IntegerDemo", + "projectName": "day13_Integer" + }, + { + "type": "java", + "name": "Launch IntegerDemo(3)", + "request": "launch", + "mainClass": "cn.itcast_04.IntegerDemo", + "projectName": "day13_Integer" + }, + { + "type": "java", + "name": "Launch IntegerDemo(4)", + "request": "launch", + "mainClass": "cn.itcast_05.IntegerDemo", + "projectName": "day13_Integer" + }, + { + "type": "java", + "name": "Launch IntegerDemo(5)", + "request": "launch", + "mainClass": "cn.itcast_06.IntegerDemo", + "projectName": "day13_Integer" + }, + { + "type": "java", + "name": "Launch StringBufferDemo", + "request": "launch", + "mainClass": "cn.itcast_01.StringBufferDemo", + "projectName": "day13_StringBuffer" + }, + { + "type": "java", + "name": "Launch StringBufferDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.StringBufferDemo", + "projectName": "day13_StringBuffer" + }, + { + "type": "java", + "name": "Launch StringBufferDemo2", + "request": "launch", + "mainClass": "cn.itcast_02.StringBufferDemo2", + "projectName": "day13_StringBuffer" + }, + { + "type": "java", + "name": "Launch StringBufferDemo3", + "request": "launch", + "mainClass": "cn.itcast_02.StringBufferDemo3", + "projectName": "day13_StringBuffer" + }, + { + "type": "java", + "name": "Launch StringBufferDemo4", + "request": "launch", + "mainClass": "cn.itcast_02.StringBufferDemo4", + "projectName": "day13_StringBuffer" + }, + { + "type": "java", + "name": "Launch StringBufferDemo5", + "request": "launch", + "mainClass": "cn.itcast_02.StringBufferDemo5", + "projectName": "day13_StringBuffer" + }, + { + "type": "java", + "name": "Launch StringBufferDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_03.StringBufferDemo", + "projectName": "day13_StringBuffer" + }, + { + "type": "java", + "name": "Launch StringBufferTest", + "request": "launch", + "mainClass": "cn.itcast_04.StringBufferTest", + "projectName": "day13_StringBuffer" + }, + { + "type": "java", + "name": "Launch StringBufferTest2", + "request": "launch", + "mainClass": "cn.itcast_04.StringBufferTest2", + "projectName": "day13_StringBuffer" + }, + { + "type": "java", + "name": "Launch StringBufferTest3", + "request": "launch", + "mainClass": "cn.itcast_04.StringBufferTest3", + "projectName": "day13_StringBuffer" + }, + { + "type": "java", + "name": "Launch StringBufferDemo(3)", + "request": "launch", + "mainClass": "cn.itcast_05.StringBufferDemo", + "projectName": "day13_StringBuffer" + }, + { + "type": "java", + "name": "Launch BigIntegerDemo", + "request": "launch", + "mainClass": "cn.itcast_01.BigIntegerDemo", + "projectName": "day14_BigInteger_BigDecimal" + }, + { + "type": "java", + "name": "Launch BigIntegerDemo2", + "request": "launch", + "mainClass": "cn.itcast_01.BigIntegerDemo2", + "projectName": "day14_BigInteger_BigDecimal" + }, + { + "type": "java", + "name": "Launch BigDecimalDemo", + "request": "launch", + "mainClass": "cn.itcast_02.BigDecimalDemo", + "projectName": "day14_BigInteger_BigDecimal" + }, + { + "type": "java", + "name": "Launch BigDecimalDemo2", + "request": "launch", + "mainClass": "cn.itcast_02.BigDecimalDemo2", + "projectName": "day14_BigInteger_BigDecimal" + }, + { + "type": "java", + "name": "Launch DateDemo", + "request": "launch", + "mainClass": "cn.itcast_01.DateDemo", + "projectName": "day14_Date_DateFormat_Calendar" + }, + { + "type": "java", + "name": "Launch DateFormatDemo", + "request": "launch", + "mainClass": "cn.itcast_02.DateFormatDemo", + "projectName": "day14_Date_DateFormat_Calendar" + }, + { + "type": "java", + "name": "Launch DateToolTest", + "request": "launch", + "mainClass": "cn.itcast_02.DateToolTest", + "projectName": "day14_Date_DateFormat_Calendar" + }, + { + "type": "java", + "name": "Launch MyDayDemo", + "request": "launch", + "mainClass": "cn.itcast_02.MyDayDemo", + "projectName": "day14_Date_DateFormat_Calendar" + }, + { + "type": "java", + "name": "Launch CalendarDemo", + "request": "launch", + "mainClass": "cn.itcast_03.CalendarDemo", + "projectName": "day14_Date_DateFormat_Calendar" + }, + { + "type": "java", + "name": "Launch CalendarDemo2", + "request": "launch", + "mainClass": "cn.itcast_03.CalendarDemo2", + "projectName": "day14_Date_DateFormat_Calendar" + }, + { + "type": "java", + "name": "Launch CalendarTest", + "request": "launch", + "mainClass": "cn.itcast_03.CalendarTest", + "projectName": "day14_Date_DateFormat_Calendar" + }, + { + "type": "java", + "name": "Launch MathDemo", + "request": "launch", + "mainClass": "cn.itcast_01.MathDemo", + "projectName": "day14_Math_Random_System" + }, + { + "type": "java", + "name": "Launch RandomDemo", + "request": "launch", + "mainClass": "cn.itcast_02.RandomDemo", + "projectName": "day14_Math_Random_System" + }, + { + "type": "java", + "name": "Launch SystemDemo", + "request": "launch", + "mainClass": "cn.itcast_03.SystemDemo", + "projectName": "day14_Math_Random_System" + }, + { + "type": "java", + "name": "Launch SystemDemo2", + "request": "launch", + "mainClass": "cn.itcast_03.SystemDemo2", + "projectName": "day14_Math_Random_System" + }, + { + "type": "java", + "name": "Launch RegexDemo", + "request": "launch", + "mainClass": "cn.itcast_01.RegexDemo", + "projectName": "day14_Regex" + }, + { + "type": "java", + "name": "Launch RegexDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.RegexDemo", + "projectName": "day14_Regex" + }, + { + "type": "java", + "name": "Launch RegexTest", + "request": "launch", + "mainClass": "cn.itcast_02.RegexTest", + "projectName": "day14_Regex" + }, + { + "type": "java", + "name": "Launch RegexDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_03.RegexDemo", + "projectName": "day14_Regex" + }, + { + "type": "java", + "name": "Launch RegexTest(1)", + "request": "launch", + "mainClass": "cn.itcast_03.RegexTest", + "projectName": "day14_Regex" + }, + { + "type": "java", + "name": "Launch RegexDemo(3)", + "request": "launch", + "mainClass": "cn.itcast_04.RegexDemo", + "projectName": "day14_Regex" + }, + { + "type": "java", + "name": "Launch RegexDemo(4)", + "request": "launch", + "mainClass": "cn.itcast_05.RegexDemo", + "projectName": "day14_Regex" + }, + { + "type": "java", + "name": "Launch StudentDemo(3)", + "request": "launch", + "mainClass": "cn.itcast_01.StudentDemo", + "projectName": "day15_Collection" + }, + { + "type": "java", + "name": "Launch CollectionDemo", + "request": "launch", + "mainClass": "cn.itcast_02.CollectionDemo", + "projectName": "day15_Collection" + }, + { + "type": "java", + "name": "Launch CollectionDemo2", + "request": "launch", + "mainClass": "cn.itcast_02.CollectionDemo2", + "projectName": "day15_Collection" + }, + { + "type": "java", + "name": "Launch CollectionDemo3", + "request": "launch", + "mainClass": "cn.itcast_02.CollectionDemo3", + "projectName": "day15_Collection" + }, + { + "type": "java", + "name": "Launch CollectionTest", + "request": "launch", + "mainClass": "cn.itcast_03.CollectionTest", + "projectName": "day15_Collection" + }, + { + "type": "java", + "name": "Launch IteratorDemo", + "request": "launch", + "mainClass": "cn.itcast_04.IteratorDemo", + "projectName": "day15_Collection" + }, + { + "type": "java", + "name": "Launch IteratorDemo2", + "request": "launch", + "mainClass": "cn.itcast_04.IteratorDemo2", + "projectName": "day15_Collection" + }, + { + "type": "java", + "name": "Launch IteratorTest", + "request": "launch", + "mainClass": "cn.itcast_04.IteratorTest", + "projectName": "day15_Collection" + }, + { + "type": "java", + "name": "Launch IteratorTest2", + "request": "launch", + "mainClass": "cn.itcast_04.IteratorTest2", + "projectName": "day15_Collection" + }, + { + "type": "java", + "name": "Launch ListDemo", + "request": "launch", + "mainClass": "cn.itcast_01.ListDemo", + "projectName": "day15_List" + }, + { + "type": "java", + "name": "Launch ListDemo2", + "request": "launch", + "mainClass": "cn.itcast_01.ListDemo2", + "projectName": "day15_List" + }, + { + "type": "java", + "name": "Launch ListDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.ListDemo", + "projectName": "day15_List" + }, + { + "type": "java", + "name": "Launch ListDemo2(1)", + "request": "launch", + "mainClass": "cn.itcast_02.ListDemo2", + "projectName": "day15_List" + }, + { + "type": "java", + "name": "Launch ListDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_03.ListDemo", + "projectName": "day15_List" + }, + { + "type": "java", + "name": "Launch ListIteratorDemo", + "request": "launch", + "mainClass": "cn.itcast_04.ListIteratorDemo", + "projectName": "day15_List" + }, + { + "type": "java", + "name": "Launch ListIteratorDemo2", + "request": "launch", + "mainClass": "cn.itcast_04.ListIteratorDemo2", + "projectName": "day15_List" + }, + { + "type": "java", + "name": "Launch ListIteratorDemo3", + "request": "launch", + "mainClass": "cn.itcast_04.ListIteratorDemo3", + "projectName": "day15_List" + }, + { + "type": "java", + "name": "Launch ArrayListDemo", + "request": "launch", + "mainClass": "cn.itcast_01.ArrayListDemo", + "projectName": "day16_ArrayList_Vector_LinkedList" + }, + { + "type": "java", + "name": "Launch ArrayListTest", + "request": "launch", + "mainClass": "cn.itcast_01.ArrayListTest", + "projectName": "day16_ArrayList_Vector_LinkedList" + }, + { + "type": "java", + "name": "Launch VectorDemo", + "request": "launch", + "mainClass": "cn.itcast_02.VectorDemo", + "projectName": "day16_ArrayList_Vector_LinkedList" + }, + { + "type": "java", + "name": "Launch LinkedListDemo", + "request": "launch", + "mainClass": "cn.itcast_03.LinkedListDemo", + "projectName": "day16_ArrayList_Vector_LinkedList" + }, + { + "type": "java", + "name": "Launch ArrayListTest(1)", + "request": "launch", + "mainClass": "cn.itcast_04.ArrayListTest", + "projectName": "day16_ArrayList_Vector_LinkedList" + }, + { + "type": "java", + "name": "Launch ArrayListTest2", + "request": "launch", + "mainClass": "cn.itcast_04.ArrayListTest2", + "projectName": "day16_ArrayList_Vector_LinkedList" + }, + { + "type": "java", + "name": "Launch ArrayListTest3", + "request": "launch", + "mainClass": "cn.itcast_04.ArrayListTest3", + "projectName": "day16_ArrayList_Vector_LinkedList" + }, + { + "type": "java", + "name": "Launch LinkedListDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_04.LinkedListDemo", + "projectName": "day16_ArrayList_Vector_LinkedList" + }, + { + "type": "java", + "name": "Launch ArrayListDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_05.ArrayListDemo", + "projectName": "day16_ArrayList_Vector_LinkedList" + }, + { + "type": "java", + "name": "Launch ArrayListDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_01.ArrayListDemo", + "projectName": "day16_Generic" + }, + { + "type": "java", + "name": "Launch ArrayListDemo2", + "request": "launch", + "mainClass": "cn.itcast_01.ArrayListDemo2", + "projectName": "day16_Generic" + }, + { + "type": "java", + "name": "Launch ArrayListTest(2)", + "request": "launch", + "mainClass": "cn.itcast_01.ArrayListTest", + "projectName": "day16_Generic" + }, + { + "type": "java", + "name": "Launch InterTest", + "request": "launch", + "mainClass": "cn.itcast_02.InterTest", + "projectName": "day16_Generic" + }, + { + "type": "java", + "name": "Launch Tool2Test", + "request": "launch", + "mainClass": "cn.itcast_02.Tool2Test", + "projectName": "day16_Generic" + }, + { + "type": "java", + "name": "Launch Tool3Test", + "request": "launch", + "mainClass": "cn.itcast_02.Tool3Test", + "projectName": "day16_Generic" + }, + { + "type": "java", + "name": "Launch ToolTest", + "request": "launch", + "mainClass": "cn.itcast_02.ToolTest", + "projectName": "day16_Generic" + }, + { + "type": "java", + "name": "Launch GenericeDemo", + "request": "launch", + "mainClass": "cn.itcast_03.GenericeDemo", + "projectName": "day16_Generic" + }, + { + "type": "java", + "name": "Launch ArrayListTest(3)", + "request": "launch", + "mainClass": "cn.itcast_01.ArrayListTest", + "projectName": "day16_JDK5News" + }, + { + "type": "java", + "name": "Launch ForDemo", + "request": "launch", + "mainClass": "cn.itcast_01.ForDemo", + "projectName": "day16_JDK5News" + }, + { + "type": "java", + "name": "Launch StaticImportDemo", + "request": "launch", + "mainClass": "cn.itcast_02.StaticImportDemo", + "projectName": "day16_JDK5News" + }, + { + "type": "java", + "name": "Launch ArgsDemo", + "request": "launch", + "mainClass": "cn.itcast_03.ArgsDemo", + "projectName": "day16_JDK5News" + }, + { + "type": "java", + "name": "Launch ArraysDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_03.ArraysDemo", + "projectName": "day16_JDK5News" + }, + { + "type": "java", + "name": "Launch RandomNumberDemo", + "request": "launch", + "mainClass": "cn.itcast_01.RandomNumberDemo", + "projectName": "day17_List_test" + }, + { + "type": "java", + "name": "Launch GetMaxNumberDemo", + "request": "launch", + "mainClass": "cn.itcast_02.GetMaxNumberDemo", + "projectName": "day17_List_test" + }, + { + "type": "java", + "name": "Launch ArrayListDemo(3)", + "request": "launch", + "mainClass": "cn.itcast_03.ArrayListDemo", + "projectName": "day17_List_test" + }, + { + "type": "java", + "name": "Launch SetDemo", + "request": "launch", + "mainClass": "cn.itcast_01.SetDemo", + "projectName": "day17_Set_HashSet_TreeSet" + }, + { + "type": "java", + "name": "Launch HashSetDemo", + "request": "launch", + "mainClass": "cn.itcast_02.HashSetDemo", + "projectName": "day17_Set_HashSet_TreeSet" + }, + { + "type": "java", + "name": "Launch HashSetDemo2", + "request": "launch", + "mainClass": "cn.itcast_02.HashSetDemo2", + "projectName": "day17_Set_HashSet_TreeSet" + }, + { + "type": "java", + "name": "Launch LinkedHashSetDemo", + "request": "launch", + "mainClass": "cn.itcast_03.LinkedHashSetDemo", + "projectName": "day17_Set_HashSet_TreeSet" + }, + { + "type": "java", + "name": "Launch TreeSetDemo", + "request": "launch", + "mainClass": "cn.itcast_04.TreeSetDemo", + "projectName": "day17_Set_HashSet_TreeSet" + }, + { + "type": "java", + "name": "Launch TreeSetDemo2", + "request": "launch", + "mainClass": "cn.itcast_04.TreeSetDemo2", + "projectName": "day17_Set_HashSet_TreeSet" + }, + { + "type": "java", + "name": "Launch TreeSetDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_05.TreeSetDemo", + "projectName": "day17_Set_HashSet_TreeSet" + }, + { + "type": "java", + "name": "Launch TreeSetDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_06.TreeSetDemo", + "projectName": "day17_Set_HashSet_TreeSet" + }, + { + "type": "java", + "name": "Launch GetRandomNumerDemo", + "request": "launch", + "mainClass": "cn.itcast_07.GetRandomNumerDemo", + "projectName": "day17_Set_HashSet_TreeSet" + }, + { + "type": "java", + "name": "Launch StudentDemo(4)", + "request": "launch", + "mainClass": "cn.itcast_07.StudentDemo", + "projectName": "day17_Set_HashSet_TreeSet" + }, + { + "type": "java", + "name": "Launch UserTest", + "request": "launch", + "mainClass": "cn.itcast.test.UserTest", + "projectName": "day17_login_regist" + }, + { + "type": "java", + "name": "Launch CollectionsDemo", + "request": "launch", + "mainClass": "cn.itcast_01.CollectionsDemo", + "projectName": "day18_Collections" + }, + { + "type": "java", + "name": "Launch ArrayListDemo(4)", + "request": "launch", + "mainClass": "cn.itcast_02.ArrayListDemo", + "projectName": "day18_Collections" + }, + { + "type": "java", + "name": "Launch PokerDemo", + "request": "launch", + "mainClass": "cn.itcast_03.PokerDemo", + "projectName": "day18_Collections" + }, + { + "type": "java", + "name": "Launch PokerDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_04.PokerDemo", + "projectName": "day18_Collections" + }, + { + "type": "java", + "name": "Launch MapDemo", + "request": "launch", + "mainClass": "cn.itcast_01.MapDemo", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch MapDemo2", + "request": "launch", + "mainClass": "cn.itcast_01.MapDemo2", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch MapDemo3", + "request": "launch", + "mainClass": "cn.itcast_01.MapDemo3", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch MapDemo4", + "request": "launch", + "mainClass": "cn.itcast_01.MapDemo4", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch HashMapDemo", + "request": "launch", + "mainClass": "cn.itcast_02.HashMapDemo", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch HashMapDemo2", + "request": "launch", + "mainClass": "cn.itcast_02.HashMapDemo2", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch HashMapDemo3", + "request": "launch", + "mainClass": "cn.itcast_02.HashMapDemo3", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch HashMapDemo4", + "request": "launch", + "mainClass": "cn.itcast_02.HashMapDemo4", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch LinkedHashMapDemo", + "request": "launch", + "mainClass": "cn.itcast_03.LinkedHashMapDemo", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch TreeMapDemo", + "request": "launch", + "mainClass": "cn.itcast_04.TreeMapDemo", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch TreeMapDemo2", + "request": "launch", + "mainClass": "cn.itcast_04.TreeMapDemo2", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch ArrayListAndHashMapTest", + "request": "launch", + "mainClass": "cn.itcast_05.ArrayListAndHashMapTest", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch HashMapAndArrayListTest", + "request": "launch", + "mainClass": "cn.itcast_05.HashMapAndArrayListTest", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch HashMapTest", + "request": "launch", + "mainClass": "cn.itcast_05.HashMapTest", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch TreeMapTest", + "request": "launch", + "mainClass": "cn.itcast_05.TreeMapTest", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch HashtableDemo", + "request": "launch", + "mainClass": "cn.itcast_06.HashtableDemo", + "projectName": "day18_Map_HashMap_TreeMap" + }, + { + "type": "java", + "name": "Launch ExceptionDemo", + "request": "launch", + "mainClass": "cn.itcast_01.ExceptionDemo", + "projectName": "day19_Exception" + }, + { + "type": "java", + "name": "Launch ExceptionDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.ExceptionDemo", + "projectName": "day19_Exception" + }, + { + "type": "java", + "name": "Launch ExceptionDemo2", + "request": "launch", + "mainClass": "cn.itcast_02.ExceptionDemo2", + "projectName": "day19_Exception" + }, + { + "type": "java", + "name": "Launch ExceptionDemo3", + "request": "launch", + "mainClass": "cn.itcast_02.ExceptionDemo3", + "projectName": "day19_Exception" + }, + { + "type": "java", + "name": "Launch ExceptionDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_03.ExceptionDemo", + "projectName": "day19_Exception" + }, + { + "type": "java", + "name": "Launch ExceptionDemo(3)", + "request": "launch", + "mainClass": "cn.itcast_04.ExceptionDemo", + "projectName": "day19_Exception" + }, + { + "type": "java", + "name": "Launch ThrowDemo", + "request": "launch", + "mainClass": "cn.itcast_05.ThrowDemo", + "projectName": "day19_Exception" + }, + { + "type": "java", + "name": "Launch ThrowsDemo", + "request": "launch", + "mainClass": "cn.itcast_05.ThrowsDemo", + "projectName": "day19_Exception" + }, + { + "type": "java", + "name": "Launch FinallyDemo", + "request": "launch", + "mainClass": "cn.itcast_06.FinallyDemo", + "projectName": "day19_Exception" + }, + { + "type": "java", + "name": "Launch FinallyTest", + "request": "launch", + "mainClass": "cn.itcast_06.FinallyTest", + "projectName": "day19_Exception" + }, + { + "type": "java", + "name": "Launch TeacherTest", + "request": "launch", + "mainClass": "cn.itcast_07.TeacherTest", + "projectName": "day19_Exception" + }, + { + "type": "java", + "name": "Launch FileDemo", + "request": "launch", + "mainClass": "cn.itcast_01.FileDemo", + "projectName": "day19_File" + }, + { + "type": "java", + "name": "Launch FileDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.FileDemo", + "projectName": "day19_File" + }, + { + "type": "java", + "name": "Launch FileDemo2", + "request": "launch", + "mainClass": "cn.itcast_02.FileDemo2", + "projectName": "day19_File" + }, + { + "type": "java", + "name": "Launch FileDemo3", + "request": "launch", + "mainClass": "cn.itcast_02.FileDemo3", + "projectName": "day19_File" + }, + { + "type": "java", + "name": "Launch FileDemo4", + "request": "launch", + "mainClass": "cn.itcast_02.FileDemo4", + "projectName": "day19_File" + }, + { + "type": "java", + "name": "Launch FileDemo5", + "request": "launch", + "mainClass": "cn.itcast_02.FileDemo5", + "projectName": "day19_File" + }, + { + "type": "java", + "name": "Launch FileDemo6", + "request": "launch", + "mainClass": "cn.itcast_02.FileDemo6", + "projectName": "day19_File" + }, + { + "type": "java", + "name": "Launch FileTest", + "request": "launch", + "mainClass": "cn.itcast_03.FileTest", + "projectName": "day19_File" + }, + { + "type": "java", + "name": "Launch FileTest2", + "request": "launch", + "mainClass": "cn.itcast_03.FileTest2", + "projectName": "day19_File" + }, + { + "type": "java", + "name": "Launch DiGuiDemo", + "request": "launch", + "mainClass": "cn.itcast_01.DiGuiDemo", + "projectName": "day20_DiGui" + }, + { + "type": "java", + "name": "Launch DiGuiDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.DiGuiDemo", + "projectName": "day20_DiGui" + }, + { + "type": "java", + "name": "Launch DiGuiTest", + "request": "launch", + "mainClass": "cn.itcast_02.DiGuiTest", + "projectName": "day20_DiGui" + }, + { + "type": "java", + "name": "Launch DeleteFolderDemo", + "request": "launch", + "mainClass": "cn.itcast_03.DeleteFolderDemo", + "projectName": "day20_DiGui" + }, + { + "type": "java", + "name": "Launch GetAllFileNameDemo", + "request": "launch", + "mainClass": "cn.itcast_03.GetAllFileNameDemo", + "projectName": "day20_DiGui" + }, + { + "type": "java", + "name": "Launch FileOutputStreamDemo", + "request": "launch", + "mainClass": "cn.itcast_01.FileOutputStreamDemo", + "projectName": "day20_IO" + }, + { + "type": "java", + "name": "Launch FileOutputStreamDemo2", + "request": "launch", + "mainClass": "cn.itcast_01.FileOutputStreamDemo2", + "projectName": "day20_IO" + }, + { + "type": "java", + "name": "Launch FileOutputStreamDemo3", + "request": "launch", + "mainClass": "cn.itcast_01.FileOutputStreamDemo3", + "projectName": "day20_IO" + }, + { + "type": "java", + "name": "Launch FileInputStreamDemo", + "request": "launch", + "mainClass": "cn.itcast_02.FileInputStreamDemo", + "projectName": "day20_IO" + }, + { + "type": "java", + "name": "Launch FileInputStreamDemo2", + "request": "launch", + "mainClass": "cn.itcast_02.FileInputStreamDemo2", + "projectName": "day20_IO" + }, + { + "type": "java", + "name": "Launch CopyAviDemo", + "request": "launch", + "mainClass": "cn.itcast_03.CopyAviDemo", + "projectName": "day20_IO" + }, + { + "type": "java", + "name": "Launch CopyFileDemo", + "request": "launch", + "mainClass": "cn.itcast_03.CopyFileDemo", + "projectName": "day20_IO" + }, + { + "type": "java", + "name": "Launch CopyFileDemo2", + "request": "launch", + "mainClass": "cn.itcast_03.CopyFileDemo2", + "projectName": "day20_IO" + }, + { + "type": "java", + "name": "Launch CopyImageDemo", + "request": "launch", + "mainClass": "cn.itcast_03.CopyImageDemo", + "projectName": "day20_IO" + }, + { + "type": "java", + "name": "Launch CopyAviDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_04.CopyAviDemo", + "projectName": "day20_IO" + }, + { + "type": "java", + "name": "Launch CopyFileDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_04.CopyFileDemo", + "projectName": "day20_IO" + }, + { + "type": "java", + "name": "Launch IOEncodeDemo", + "request": "launch", + "mainClass": "cn.itcast_01.IOEncodeDemo", + "projectName": "day21_IO2" + }, + { + "type": "java", + "name": "Launch InputStreamReaderDemo", + "request": "launch", + "mainClass": "cn.itcast_01.InputStreamReaderDemo", + "projectName": "day21_IO2" + }, + { + "type": "java", + "name": "Launch OutputStreamWriterDemo", + "request": "launch", + "mainClass": "cn.itcast_01.OutputStreamWriterDemo", + "projectName": "day21_IO2" + }, + { + "type": "java", + "name": "Launch CopyFileDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_02.CopyFileDemo", + "projectName": "day21_IO2" + }, + { + "type": "java", + "name": "Launch CopyFileDemo(3)", + "request": "launch", + "mainClass": "cn.itcast_03.CopyFileDemo", + "projectName": "day21_IO2" + }, + { + "type": "java", + "name": "Launch CopyFileDemo2(1)", + "request": "launch", + "mainClass": "cn.itcast_03.CopyFileDemo2", + "projectName": "day21_IO2" + }, + { + "type": "java", + "name": "Launch BufferedDemo", + "request": "launch", + "mainClass": "cn.itcast_04.BufferedDemo", + "projectName": "day21_IO2" + }, + { + "type": "java", + "name": "Launch CopyFileDemo(4)", + "request": "launch", + "mainClass": "cn.itcast_04.CopyFileDemo", + "projectName": "day21_IO2" + }, + { + "type": "java", + "name": "Launch CopyBmpDemo", + "request": "launch", + "mainClass": "cn.itcast_01.CopyBmpDemo", + "projectName": "day21_IOTest" + }, + { + "type": "java", + "name": "Launch CopyTxtDemo", + "request": "launch", + "mainClass": "cn.itcast_01.CopyTxtDemo", + "projectName": "day21_IOTest" + }, + { + "type": "java", + "name": "Launch ArrayListToFileDemo", + "request": "launch", + "mainClass": "cn.itcast_02.ArrayListToFileDemo", + "projectName": "day21_IOTest" + }, + { + "type": "java", + "name": "Launch FileToArrayListDemo", + "request": "launch", + "mainClass": "cn.itcast_02.FileToArrayListDemo", + "projectName": "day21_IOTest" + }, + { + "type": "java", + "name": "Launch GetNameDemo", + "request": "launch", + "mainClass": "cn.itcast_02.GetNameDemo", + "projectName": "day21_IOTest" + }, + { + "type": "java", + "name": "Launch ChangeNameDemo", + "request": "launch", + "mainClass": "cn.itcast_03.ChangeNameDemo", + "projectName": "day21_IOTest" + }, + { + "type": "java", + "name": "Launch CopyFolderDemo", + "request": "launch", + "mainClass": "cn.itcast_03.CopyFolderDemo", + "projectName": "day21_IOTest" + }, + { + "type": "java", + "name": "Launch StudentDemo(5)", + "request": "launch", + "mainClass": "cn.itcast_04.StudentDemo", + "projectName": "day21_IOTest" + }, + { + "type": "java", + "name": "Launch StringDemo(6)", + "request": "launch", + "mainClass": "cn.itcast_05.StringDemo", + "projectName": "day21_IOTest" + }, + { + "type": "java", + "name": "Launch CopyImageDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_01.CopyImageDemo", + "projectName": "day21_IO" + }, + { + "type": "java", + "name": "Launch BufferedDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.BufferedDemo", + "projectName": "day21_IO" + }, + { + "type": "java", + "name": "Launch CopyMP4Demo", + "request": "launch", + "mainClass": "cn.itcast_03.CopyMP4Demo", + "projectName": "day21_IO" + }, + { + "type": "java", + "name": "Launch FileInputStreamDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_04.FileInputStreamDemo", + "projectName": "day21_IO" + }, + { + "type": "java", + "name": "Launch StringDemo(7)", + "request": "launch", + "mainClass": "cn.itcast_04.StringDemo", + "projectName": "day21_IO" + }, + { + "type": "java", + "name": "Launch StringDemo(8)", + "request": "launch", + "mainClass": "cn.itcast_05.StringDemo", + "projectName": "day21_IO" + }, + { + "type": "java", + "name": "Launch UserTest(1)", + "request": "launch", + "mainClass": "cn.itcast.test.UserTest", + "projectName": "day21_login_regist" + }, + { + "type": "java", + "name": "Launch MyBufferedReaderDemo", + "request": "launch", + "mainClass": "cn.itcast_01.MyBufferedReaderDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch LineNumberReaderDemo", + "request": "launch", + "mainClass": "cn.itcast_02.LineNumberReaderDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch MyMyLineNumberReaderDemo", + "request": "launch", + "mainClass": "cn.itcast_02.MyMyLineNumberReaderDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch MyMyLineNumberReaderDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_03.MyMyLineNumberReaderDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch DataStreamDemo", + "request": "launch", + "mainClass": "cn.itcast_04.DataStreamDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch ArrayStreamDemo", + "request": "launch", + "mainClass": "cn.itcast_05.ArrayStreamDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch CopyFileDemo(5)", + "request": "launch", + "mainClass": "cn.itcast_06.CopyFileDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch PrintWriterDemo", + "request": "launch", + "mainClass": "cn.itcast_06.PrintWriterDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch PrintWriterDemo2", + "request": "launch", + "mainClass": "cn.itcast_06.PrintWriterDemo2", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch PrintfDemo", + "request": "launch", + "mainClass": "cn.itcast_07.PrintfDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch SystemInDemo", + "request": "launch", + "mainClass": "cn.itcast_07.SystemInDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch SystemOutDemo", + "request": "launch", + "mainClass": "cn.itcast_07.SystemOutDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch RandomAccessFileDemo", + "request": "launch", + "mainClass": "cn.itcast_08.RandomAccessFileDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch SequenceInputStreamDemo", + "request": "launch", + "mainClass": "cn.itcast_09.SequenceInputStreamDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch ObjectStreamDemo", + "request": "launch", + "mainClass": "cn.itcast_10.ObjectStreamDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch PropertiesDemo", + "request": "launch", + "mainClass": "cn.itcast_11.PropertiesDemo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch PropertiesDemo2", + "request": "launch", + "mainClass": "cn.itcast_11.PropertiesDemo2", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch PropertiesDemo3", + "request": "launch", + "mainClass": "cn.itcast_11.PropertiesDemo3", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch PropertiesTest", + "request": "launch", + "mainClass": "cn.itcast_11.PropertiesTest", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch PropertiesTest2", + "request": "launch", + "mainClass": "cn.itcast_11.PropertiesTest2", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch JDK7Demo", + "request": "launch", + "mainClass": "cn.itcast_12.JDK7Demo", + "projectName": "day22_IO" + }, + { + "type": "java", + "name": "Launch MyThreadDemo", + "request": "launch", + "mainClass": "cn.itcast_01.MyThreadDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch MyThreadDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.MyThreadDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch ThreadPriorityDemo", + "request": "launch", + "mainClass": "cn.itcast_03.ThreadPriorityDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch ThreadDaemonDemo", + "request": "launch", + "mainClass": "cn.itcast_04.ThreadDaemonDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch ThreadJoinDemo", + "request": "launch", + "mainClass": "cn.itcast_04.ThreadJoinDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch ThreadKillDemo", + "request": "launch", + "mainClass": "cn.itcast_04.ThreadKillDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch ThreadSleepDemo", + "request": "launch", + "mainClass": "cn.itcast_04.ThreadSleepDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch ThreadYieldDemo", + "request": "launch", + "mainClass": "cn.itcast_04.ThreadYieldDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch MyRunnableDemo", + "request": "launch", + "mainClass": "cn.itcast_05.MyRunnableDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch MovieTicketDemo", + "request": "launch", + "mainClass": "cn.itcast_06.MovieTicketDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch MovieTicketDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_07.MovieTicketDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch MovieTicketDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_08.MovieTicketDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch MovieTicketDemo(3)", + "request": "launch", + "mainClass": "cn.itcast_09.MovieTicketDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch MovieTicketDemo(4)", + "request": "launch", + "mainClass": "cn.itcast_10.MovieTicketDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch ThreadDemo", + "request": "launch", + "mainClass": "cn.itcast_10.ThreadDemo", + "projectName": "day23_Thread" + }, + { + "type": "java", + "name": "Launch SingletDemo", + "request": "launch", + "mainClass": "cn.itcast_01.SingletDemo", + "projectName": "day24_Pattern" + }, + { + "type": "java", + "name": "Launch SingletDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.SingletDemo", + "projectName": "day24_Pattern" + }, + { + "type": "java", + "name": "Launch RuntimeDemo", + "request": "launch", + "mainClass": "cn.itcast_03.RuntimeDemo", + "projectName": "day24_Pattern" + }, + { + "type": "java", + "name": "Launch MovieTicketDemo(5)", + "request": "launch", + "mainClass": "cn.itcast_01.MovieTicketDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch DieLockDemo", + "request": "launch", + "mainClass": "cn.itcast_02.DieLockDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch StudentDemo(6)", + "request": "launch", + "mainClass": "cn.itcast_03.StudentDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch StudentDemo(7)", + "request": "launch", + "mainClass": "cn.itcast_04.StudentDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch StudentDemo(8)", + "request": "launch", + "mainClass": "cn.itcast_05.StudentDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch StudentDemo(9)", + "request": "launch", + "mainClass": "cn.itcast_06.StudentDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch ThreadGroupRunnableDemo", + "request": "launch", + "mainClass": "cn.itcast_07.ThreadGroupRunnableDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch ThreadPoolDemo", + "request": "launch", + "mainClass": "cn.itcast_08.ThreadPoolDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch ThreadPoolDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_09.ThreadPoolDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch ThreadPoolDemo(2)", + "request": "launch", + "mainClass": "cn.itcast_10.ThreadPoolDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch NiMingDemo", + "request": "launch", + "mainClass": "cn.itcast_11.NiMingDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch TimerDemo", + "request": "launch", + "mainClass": "cn.itcast_12.TimerDemo", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch TimerDemo2", + "request": "launch", + "mainClass": "cn.itcast_12.TimerDemo2", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch TimerTest", + "request": "launch", + "mainClass": "cn.itcast_12.TimerTest", + "projectName": "day24_Thread" + }, + { + "type": "java", + "name": "Launch FrameDemo", + "request": "launch", + "mainClass": "cn.itcast_01.FrameDemo", + "projectName": "day25_Frame" + }, + { + "type": "java", + "name": "Launch FrameDemo(1)", + "request": "launch", + "mainClass": "cn.itcast_02.FrameDemo", + "projectName": "day25_Frame" + }, + { + "type": "java", + "name": "Launch FrameDemo2", + "request": "launch", + "mainClass": "cn.itcast_02.FrameDemo2", + "projectName": "day25_Frame" + }, + { + "type": "java", + "name": "Launch ButtonDemo", + "request": "launch", + "mainClass": "cn.itcast_03.ButtonDemo", + "projectName": "day25_Frame" + }, + { + "type": "java", + "name": "Launch TextDemo", + "request": "launch", + "mainClass": "cn.itcast_04.TextDemo", + "projectName": "day25_Frame" + }, + { + "type": "java", + "name": "Launch TextDemo2", + "request": "launch", + "mainClass": "cn.itcast_04.TextDemo2", + "projectName": "day25_Frame" + }, + { + "type": "java", + "name": "Launch MouseDemo", + "request": "launch", + "mainClass": "cn.itcast_05.MouseDemo", + "projectName": "day25_Frame" + }, + { + "type": "java", + "name": "Launch KeyDemo", + "request": "launch", + "mainClass": "cn.itcast_06.KeyDemo", + "projectName": "day25_Frame" + }, + { + "type": "java", + "name": "Launch MenuDemo", + "request": "launch", + "mainClass": "cn.itcast_07.MenuDemo", + "projectName": "day25_Frame" + }, + { + "type": "java", + "name": "Launch MenuDemo2", + "request": "launch", + "mainClass": "cn.itcast_07.MenuDemo2", + "projectName": "day25_Frame" + }, + { + "type": "java", + "name": "Launch App", + "request": "launch", + "mainClass": "App", + "projectName": "txz_demo" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..81821474 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "java.jdt.ls.java.home": "D:\\project\\java\\JDK17", + "java.project.sourcePaths": ["JAVA"], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] +} diff --git "a/day01/code/01_HelloWorld\346\241\210\344\276\213/HelloWorld.java" "b/day01/code/01_HelloWorld\346\241\210\344\276\213/HelloWorld.java" index 3fe2c950..07b83f1e 100644 --- "a/day01/code/01_HelloWorld\346\241\210\344\276\213/HelloWorld.java" +++ "b/day01/code/01_HelloWorld\346\241\210\344\276\213/HelloWorld.java" @@ -1,5 +1,5 @@ -class HelloWorld { +public class HelloWorld { public static void main(String[] args) { - System.out.println("Ұϼ"); + System.out.println("我爱林青霞"); } } \ No newline at end of file diff --git "a/day01/code/01_HelloWorld\346\241\210\344\276\213/Student.java" "b/day01/code/01_HelloWorld\346\241\210\344\276\213/Student.java" index f20bf678..2ed32bb6 100644 --- "a/day01/code/01_HelloWorld\346\241\210\344\276\213/Student.java" +++ "b/day01/code/01_HelloWorld\346\241\210\344\276\213/Student.java" @@ -1,29 +1,29 @@ -//עͣڽ˵ +//注释:用于解释说明程序的文字 /* - ע͵ķࣺ - ע һڽ˵г - ʽǣ//ע - ע һڽ˵г - ʽǣ - ĵע һǶ߷˵javadoc߽һĵ˵顣 - ʽǣ + 注释的分类: + 单行注释 一般用于解释说明单行程序 + 格式是://注释文字 + 多行注释 一般用于解释说明多行程序 + 格式是: + 文档注释 一般是对类或者方法进行说明,被javadoc工具解析生产一个文档说明书。 + 格式是: */ -//ע⣺עͲǶдעͿԡ +//注意:多行注释不能嵌套写,而单行注释可以。 -//ҵѧ -//classjava -//ĸʽǣclass +//这是我的学生案例 +//class是java中用来定义类的 +//定义类的格式是:class 类名 /* - ҵѧ - classjava - ĸʽǣclass + 这是我的学生案例 + class是java中用来定义类的 + 定义类的格式是:class 类名 */ /** */ class Student { public static void main(String[] args) { - System.out.println("ѧ"); + System.out.println("我是学生"); } } \ No newline at end of file diff --git "a/day01/code/02_\345\270\246\346\263\250\351\207\212\347\232\204HelloWorld\346\241\210\344\276\213/Demo.java" "b/day01/code/02_\345\270\246\346\263\250\351\207\212\347\232\204HelloWorld\346\241\210\344\276\213/Demo.java" index 9c87110c..4005148c 100644 --- "a/day01/code/02_\345\270\246\346\263\250\351\207\212\347\232\204HelloWorld\346\241\210\344\276\213/Demo.java" +++ "b/day01/code/02_\345\270\246\346\263\250\351\207\212\347\232\204HelloWorld\346\241\210\344\276\213/Demo.java" @@ -1,13 +1,13 @@ /* - ע͵ã - A:˵߳Ķ - B:԰ǵԳ + 注释的作用: + A:解释说明程序,提高程序的阅读性 + B:可以帮助我们调试程序 */ class Demo { public static void main(String[] args) { System.out.println("HelloWorld"); - System.out.println("Ұϼ"); - System.out.println("ҰJava"); - System.out.println("Ұ"); + System.out.println("我爱林青霞"); + System.out.println("我爱Java"); + System.out.println("我爱张瑜"); } } \ No newline at end of file diff --git "a/day01/code/02_\345\270\246\346\263\250\351\207\212\347\232\204HelloWorld\346\241\210\344\276\213/HelloWorld.class" "b/day01/code/02_\345\270\246\346\263\250\351\207\212\347\232\204HelloWorld\346\241\210\344\276\213/HelloWorld.class" new file mode 100644 index 00000000..8d2619d9 Binary files /dev/null and "b/day01/code/02_\345\270\246\346\263\250\351\207\212\347\232\204HelloWorld\346\241\210\344\276\213/HelloWorld.class" differ diff --git "a/day01/code/02_\345\270\246\346\263\250\351\207\212\347\232\204HelloWorld\346\241\210\344\276\213/HelloWorld.java" "b/day01/code/02_\345\270\246\346\263\250\351\207\212\347\232\204HelloWorld\346\241\210\344\276\213/HelloWorld.java" index 75ead315..42544182 100644 --- "a/day01/code/02_\345\270\246\346\263\250\351\207\212\347\232\204HelloWorld\346\241\210\344\276\213/HelloWorld.java" +++ "b/day01/code/02_\345\270\246\346\263\250\351\207\212\347\232\204HelloWorld\346\241\210\344\276\213/HelloWorld.java" @@ -1,35 +1,35 @@ /* - ҪHelloWorld + 需求:我要完成HelloWorld案例 - - A:javaĵλ࣬Ҫһ - B:javaҪܹУ - C:Ҫ + 分析: + A:java语言最基本的单位是类,所以我们首先要定义一个类 + B:java程序要想能够独立运行,必须有主方法 + C:如果想要程序有输出,必须有输出语句 - 裺 - A:ĸʽ - class { - // + 步骤: + A:定义类的格式 + class 类名 { + //类体 } - B:ĸʽ + B:主方法的格式 public static void main(String[] args) { - // + //方法体 } - C:ĸʽ - System.out.println("ǿԸ"); + C:输出语句的格式 + System.out.println("这里的内容是可以改"); - ǵ˼ôֳ + 最后把我们的思想用代码给体现出来 */ -//ҵĴע͵HelloWorld -//class +//这是我的带注释的HelloWorld案例 +//class用来定义类 class HelloWorld { /* - main - maindz - jvmԶmain + 这是main方法 + main方法是程序的入口 + jvm会自动调用main方法 */ public static void main(String[] args) { - // + //这是输出语句 System.out.println("HelloWorld"); } } \ No newline at end of file diff --git "a/day01/code/03_\345\205\263\351\224\256\345\255\227/KeyWord.class" "b/day01/code/03_\345\205\263\351\224\256\345\255\227/KeyWord.class" new file mode 100644 index 00000000..428706a0 Binary files /dev/null and "b/day01/code/03_\345\205\263\351\224\256\345\255\227/KeyWord.class" differ diff --git "a/day01/code/03_\345\205\263\351\224\256\345\255\227/KeyWord.java" "b/day01/code/03_\345\205\263\351\224\256\345\255\227/KeyWord.java" index c02121bb..fd570a18 100644 --- "a/day01/code/03_\345\205\263\351\224\256\345\255\227/KeyWord.java" +++ "b/day01/code/03_\345\205\263\351\224\256\345\255\227/KeyWord.java" @@ -1,11 +1,11 @@ /* - ؼ֣JavaԸضĵ + 关键字:被Java语言赋予特定含义的单词 - ؼֵص㣺ؼֶСд + 关键字的特点:关键字都是小写的 - ؼע - A:gotoconstΪִ,Ŀǰʹ - B:Editplusĸ߼±,Թؼɫǣdzֱ + 关键字注意事项 + A:goto和const作为保留字存在,目前并不使用 + B:类似Editplus这样的高级记事本,针对关键字有特殊的颜色标记,非常直观 */ class KeyWord { public static void main(String[] args) { diff --git "a/day01/code/04_\346\240\207\350\257\206\347\254\246/NameDemo.class" "b/day01/code/04_\346\240\207\350\257\206\347\254\246/NameDemo.class" new file mode 100644 index 00000000..144be3d9 Binary files /dev/null and "b/day01/code/04_\346\240\207\350\257\206\347\254\246/NameDemo.class" differ diff --git "a/day01/code/04_\346\240\207\350\257\206\347\254\246/NameDemo.java" "b/day01/code/04_\346\240\207\350\257\206\347\254\246/NameDemo.java" index 2838323a..a71aa800 100644 --- "a/day01/code/04_\346\240\207\350\257\206\347\254\246/NameDemo.java" +++ "b/day01/code/04_\346\240\207\350\257\206\347\254\246/NameDemo.java" @@ -1,39 +1,39 @@ /* - ʶǸ,ӿ,,ʱʹõַ(ַ) + 标识符:就是给类,接口,方法,变量等起名字时使用的字符序列(字符串) - ɹ - A:ӢĸСд - B: - C:_$ + 组成规则: + A:英文字母大小写 + B:数字 + C:_和$ - ע - A:ֿͷ - B:JavaеĹؼ - C:ִСд - Student,student + 注意事项: + A:不能以数字开头 + B:不能是Java中的关键字 + C:区分大小写 + Student,student 这是两个名称 - 򣺼֪ - A: ʵļ,ڽͬ - ȫСд - com - ༶cn.itcast + 常见的命名规则:见名知意 + A:包 其实就是文件夹,用于解决相同类名问题 + 全部小写 + 单级:com + 多级:cn.itcast - B:߽ӿ - һʣĸд + B:类或者接口 + 一个单词:首字母大写 Student,Person,Teacher - ʣÿʵĸд + 多个单词:每个单词的首字母大写 HelloWorld,MyName,NameDemo - C:߱ - һʣȫСд + C:方法或者变量 + 一个单词:全部小写 name,age,show() - ʣӵڶʿʼÿĸд + 多个单词:从第二个单词开始,每个单词首字母大写 myName,showAllStudentNames() - D: - һʣȫд + D:常量 + 一个单词:全部大写 AGE - ʣÿʶд_ + 多个单词:每个单词都大写,用_连接 STUDENT_MAX_AGE */ class NameDemo { diff --git a/day11/code/day11_Object/.project b/day11/code/day11_Object/.project index cc6013b9..b8db91ef 100644 --- a/day11/code/day11_Object/.project +++ b/day11/code/day11_Object/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813229 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day11/code/day11_Object/bin/cn/itcast_01/StudentDemo.class b/day11/code/day11_Object/bin/cn/itcast_01/StudentDemo.class index dff67e9e..97bed6c7 100644 Binary files a/day11/code/day11_Object/bin/cn/itcast_01/StudentDemo.class and b/day11/code/day11_Object/bin/cn/itcast_01/StudentDemo.class differ diff --git a/day11/code/day11_Object/bin/cn/itcast_02/StudentDemo.class b/day11/code/day11_Object/bin/cn/itcast_02/StudentDemo.class index 5d73953d..b3bef490 100644 Binary files a/day11/code/day11_Object/bin/cn/itcast_02/StudentDemo.class and b/day11/code/day11_Object/bin/cn/itcast_02/StudentDemo.class differ diff --git a/day11/code/day11_Object/bin/cn/itcast_03/StudentDemo.class b/day11/code/day11_Object/bin/cn/itcast_03/StudentDemo.class index 88c44388..8ed38abd 100644 Binary files a/day11/code/day11_Object/bin/cn/itcast_03/StudentDemo.class and b/day11/code/day11_Object/bin/cn/itcast_03/StudentDemo.class differ diff --git a/day12/code/day12_Scanner/.project b/day12/code/day12_Scanner/.project index a0860981..a1c536ff 100644 --- a/day12/code/day12_Scanner/.project +++ b/day12/code/day12_Scanner/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813235 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day12/code/day12_Scanner/bin/cn/itcast_02/ScannerDemo.class b/day12/code/day12_Scanner/bin/cn/itcast_02/ScannerDemo.class index c02ada4c..86c2bed8 100644 Binary files a/day12/code/day12_Scanner/bin/cn/itcast_02/ScannerDemo.class and b/day12/code/day12_Scanner/bin/cn/itcast_02/ScannerDemo.class differ diff --git a/day12/code/day12_String/.project b/day12/code/day12_String/.project index 2c6ea548..b8e338c4 100644 --- a/day12/code/day12_String/.project +++ b/day12/code/day12_String/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813244 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day12/code/day12_String/bin/cn/itcast_01/StringDemo.class b/day12/code/day12_String/bin/cn/itcast_01/StringDemo.class index 82455ddd..b1575eae 100644 Binary files a/day12/code/day12_String/bin/cn/itcast_01/StringDemo.class and b/day12/code/day12_String/bin/cn/itcast_01/StringDemo.class differ diff --git a/day12/code/day12_String/bin/cn/itcast_03/StringTest.class b/day12/code/day12_String/bin/cn/itcast_03/StringTest.class index 7c73f45a..40a77fb5 100644 Binary files a/day12/code/day12_String/bin/cn/itcast_03/StringTest.class and b/day12/code/day12_String/bin/cn/itcast_03/StringTest.class differ diff --git a/day12/code/day12_String/bin/cn/itcast_04/StringTest2.class b/day12/code/day12_String/bin/cn/itcast_04/StringTest2.class index 6060269c..47b1e588 100644 Binary files a/day12/code/day12_String/bin/cn/itcast_04/StringTest2.class and b/day12/code/day12_String/bin/cn/itcast_04/StringTest2.class differ diff --git a/day12/code/day12_String/bin/cn/itcast_05/StringTest.class b/day12/code/day12_String/bin/cn/itcast_05/StringTest.class index 72708adf..580c0f44 100644 Binary files a/day12/code/day12_String/bin/cn/itcast_05/StringTest.class and b/day12/code/day12_String/bin/cn/itcast_05/StringTest.class differ diff --git a/day12/code/day12_String/bin/cn/itcast_07/StringTest.class b/day12/code/day12_String/bin/cn/itcast_07/StringTest.class index 7b39bf87..5bfbf4fb 100644 Binary files a/day12/code/day12_String/bin/cn/itcast_07/StringTest.class and b/day12/code/day12_String/bin/cn/itcast_07/StringTest.class differ diff --git a/day12/code/day12_String/bin/cn/itcast_07/StringTest2.class b/day12/code/day12_String/bin/cn/itcast_07/StringTest2.class index d566c004..303e4fc6 100644 Binary files a/day12/code/day12_String/bin/cn/itcast_07/StringTest2.class and b/day12/code/day12_String/bin/cn/itcast_07/StringTest2.class differ diff --git a/day13/code/day13_Array_Arrays/.project b/day13/code/day13_Array_Arrays/.project index 1d1e9451..e8ac02db 100644 --- a/day13/code/day13_Array_Arrays/.project +++ b/day13/code/day13_Array_Arrays/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813251 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day13/code/day13_Array_Arrays/bin/cn/itcast_01/ArrayDemo.class b/day13/code/day13_Array_Arrays/bin/cn/itcast_01/ArrayDemo.class index 081e61bf..1d964eb0 100644 Binary files a/day13/code/day13_Array_Arrays/bin/cn/itcast_01/ArrayDemo.class and b/day13/code/day13_Array_Arrays/bin/cn/itcast_01/ArrayDemo.class differ diff --git a/day13/code/day13_Array_Arrays/bin/cn/itcast_02/ArrayDemo.class b/day13/code/day13_Array_Arrays/bin/cn/itcast_02/ArrayDemo.class index 05ec27fb..3226feab 100644 Binary files a/day13/code/day13_Array_Arrays/bin/cn/itcast_02/ArrayDemo.class and b/day13/code/day13_Array_Arrays/bin/cn/itcast_02/ArrayDemo.class differ diff --git a/day13/code/day13_Array_Arrays/bin/cn/itcast_03/ArrayDemo.class b/day13/code/day13_Array_Arrays/bin/cn/itcast_03/ArrayDemo.class index 75e7d790..cc152599 100644 Binary files a/day13/code/day13_Array_Arrays/bin/cn/itcast_03/ArrayDemo.class and b/day13/code/day13_Array_Arrays/bin/cn/itcast_03/ArrayDemo.class differ diff --git a/day13/code/day13_Character/.project b/day13/code/day13_Character/.project index 7c87b72f..78a3b932 100644 --- a/day13/code/day13_Character/.project +++ b/day13/code/day13_Character/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813258 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day13/code/day13_Integer/.project b/day13/code/day13_Integer/.project index 7b011586..b0dd1006 100644 --- a/day13/code/day13_Integer/.project +++ b/day13/code/day13_Integer/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813264 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day13/code/day13_StringBuffer/.project b/day13/code/day13_StringBuffer/.project index c5650aea..7d21d44e 100644 --- a/day13/code/day13_StringBuffer/.project +++ b/day13/code/day13_StringBuffer/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813273 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day13/code/day13_StringBuffer/bin/cn/itcast_02/StringBufferDemo4.class b/day13/code/day13_StringBuffer/bin/cn/itcast_02/StringBufferDemo4.class index b998bb05..647a5cc7 100644 Binary files a/day13/code/day13_StringBuffer/bin/cn/itcast_02/StringBufferDemo4.class and b/day13/code/day13_StringBuffer/bin/cn/itcast_02/StringBufferDemo4.class differ diff --git a/day13/code/day13_StringBuffer/bin/cn/itcast_04/StringBufferTest.class b/day13/code/day13_StringBuffer/bin/cn/itcast_04/StringBufferTest.class index 2780096e..390ba285 100644 Binary files a/day13/code/day13_StringBuffer/bin/cn/itcast_04/StringBufferTest.class and b/day13/code/day13_StringBuffer/bin/cn/itcast_04/StringBufferTest.class differ diff --git a/day13/code/day13_StringBuffer/bin/cn/itcast_04/StringBufferTest2.class b/day13/code/day13_StringBuffer/bin/cn/itcast_04/StringBufferTest2.class index e946d313..ac0b5518 100644 Binary files a/day13/code/day13_StringBuffer/bin/cn/itcast_04/StringBufferTest2.class and b/day13/code/day13_StringBuffer/bin/cn/itcast_04/StringBufferTest2.class differ diff --git a/day14/code/day14_BigInteger_BigDecimal/.project b/day14/code/day14_BigInteger_BigDecimal/.project index 9f99231e..961bf594 100644 --- a/day14/code/day14_BigInteger_BigDecimal/.project +++ b/day14/code/day14_BigInteger_BigDecimal/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813278 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day14/code/day14_Date_DateFormat_Calendar/.project b/day14/code/day14_Date_DateFormat_Calendar/.project index 54d83967..7a110ada 100644 --- a/day14/code/day14_Date_DateFormat_Calendar/.project +++ b/day14/code/day14_Date_DateFormat_Calendar/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813284 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day14/code/day14_Date_DateFormat_Calendar/bin/cn/itcast_02/MyDayDemo.class b/day14/code/day14_Date_DateFormat_Calendar/bin/cn/itcast_02/MyDayDemo.class index e821a513..77325f4b 100644 Binary files a/day14/code/day14_Date_DateFormat_Calendar/bin/cn/itcast_02/MyDayDemo.class and b/day14/code/day14_Date_DateFormat_Calendar/bin/cn/itcast_02/MyDayDemo.class differ diff --git a/day14/code/day14_Date_DateFormat_Calendar/bin/cn/itcast_03/CalendarTest.class b/day14/code/day14_Date_DateFormat_Calendar/bin/cn/itcast_03/CalendarTest.class index a67b915d..f70013e7 100644 Binary files a/day14/code/day14_Date_DateFormat_Calendar/bin/cn/itcast_03/CalendarTest.class and b/day14/code/day14_Date_DateFormat_Calendar/bin/cn/itcast_03/CalendarTest.class differ diff --git a/day14/code/day14_Math_Random_System/.project b/day14/code/day14_Math_Random_System/.project index 6ae788ef..cc302523 100644 --- a/day14/code/day14_Math_Random_System/.project +++ b/day14/code/day14_Math_Random_System/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813291 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day14/code/day14_Math_Random_System/bin/cn/itcast_03/SystemDemo.class b/day14/code/day14_Math_Random_System/bin/cn/itcast_03/SystemDemo.class index c50a8bea..c205a4aa 100644 Binary files a/day14/code/day14_Math_Random_System/bin/cn/itcast_03/SystemDemo.class and b/day14/code/day14_Math_Random_System/bin/cn/itcast_03/SystemDemo.class differ diff --git a/day14/code/day14_Regex/.project b/day14/code/day14_Regex/.project index 76393b88..ac0a6322 100644 --- a/day14/code/day14_Regex/.project +++ b/day14/code/day14_Regex/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813297 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day14/code/day14_Regex/bin/cn/itcast_01/RegexDemo.class b/day14/code/day14_Regex/bin/cn/itcast_01/RegexDemo.class index b2a28ae5..ee0dcb55 100644 Binary files a/day14/code/day14_Regex/bin/cn/itcast_01/RegexDemo.class and b/day14/code/day14_Regex/bin/cn/itcast_01/RegexDemo.class differ diff --git a/day14/code/day14_Regex/bin/cn/itcast_02/RegexDemo.class b/day14/code/day14_Regex/bin/cn/itcast_02/RegexDemo.class index 3522db7b..e857e888 100644 Binary files a/day14/code/day14_Regex/bin/cn/itcast_02/RegexDemo.class and b/day14/code/day14_Regex/bin/cn/itcast_02/RegexDemo.class differ diff --git a/day14/code/day14_Regex/bin/cn/itcast_02/RegexTest.class b/day14/code/day14_Regex/bin/cn/itcast_02/RegexTest.class index d986b55e..5cec12df 100644 Binary files a/day14/code/day14_Regex/bin/cn/itcast_02/RegexTest.class and b/day14/code/day14_Regex/bin/cn/itcast_02/RegexTest.class differ diff --git a/day14/code/day14_Regex/bin/cn/itcast_03/RegexTest.class b/day14/code/day14_Regex/bin/cn/itcast_03/RegexTest.class index db0d0a64..d0115c95 100644 Binary files a/day14/code/day14_Regex/bin/cn/itcast_03/RegexTest.class and b/day14/code/day14_Regex/bin/cn/itcast_03/RegexTest.class differ diff --git a/day15/code/day15_Collection/.project b/day15/code/day15_Collection/.project index 7bfbc96a..8c8d03a1 100644 --- a/day15/code/day15_Collection/.project +++ b/day15/code/day15_Collection/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813303 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day15/code/day15_Collection/bin/cn/itcast_01/StudentDemo.class b/day15/code/day15_Collection/bin/cn/itcast_01/StudentDemo.class index 810add97..01274422 100644 Binary files a/day15/code/day15_Collection/bin/cn/itcast_01/StudentDemo.class and b/day15/code/day15_Collection/bin/cn/itcast_01/StudentDemo.class differ diff --git a/day15/code/day15_Collection/bin/cn/itcast_03/CollectionTest.class b/day15/code/day15_Collection/bin/cn/itcast_03/CollectionTest.class index 21f42df9..98abd841 100644 Binary files a/day15/code/day15_Collection/bin/cn/itcast_03/CollectionTest.class and b/day15/code/day15_Collection/bin/cn/itcast_03/CollectionTest.class differ diff --git a/day15/code/day15_Collection/bin/cn/itcast_04/IteratorTest.class b/day15/code/day15_Collection/bin/cn/itcast_04/IteratorTest.class index 3dd8efc2..65830a7e 100644 Binary files a/day15/code/day15_Collection/bin/cn/itcast_04/IteratorTest.class and b/day15/code/day15_Collection/bin/cn/itcast_04/IteratorTest.class differ diff --git a/day15/code/day15_Collection/bin/cn/itcast_04/IteratorTest2.class b/day15/code/day15_Collection/bin/cn/itcast_04/IteratorTest2.class index cc821954..56605492 100644 Binary files a/day15/code/day15_Collection/bin/cn/itcast_04/IteratorTest2.class and b/day15/code/day15_Collection/bin/cn/itcast_04/IteratorTest2.class differ diff --git a/day15/code/day15_List/.project b/day15/code/day15_List/.project index ee53822d..d73b12e7 100644 --- a/day15/code/day15_List/.project +++ b/day15/code/day15_List/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813310 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day15/code/day15_List/bin/cn/itcast_01/ListDemo.class b/day15/code/day15_List/bin/cn/itcast_01/ListDemo.class index eb678168..db8d5d21 100644 Binary files a/day15/code/day15_List/bin/cn/itcast_01/ListDemo.class and b/day15/code/day15_List/bin/cn/itcast_01/ListDemo.class differ diff --git a/day15/code/day15_List/bin/cn/itcast_01/ListDemo2.class b/day15/code/day15_List/bin/cn/itcast_01/ListDemo2.class index 9383f409..6f9271a7 100644 Binary files a/day15/code/day15_List/bin/cn/itcast_01/ListDemo2.class and b/day15/code/day15_List/bin/cn/itcast_01/ListDemo2.class differ diff --git a/day15/code/day15_List/bin/cn/itcast_03/ListDemo.class b/day15/code/day15_List/bin/cn/itcast_03/ListDemo.class index 2e6db9df..cfdebd88 100644 Binary files a/day15/code/day15_List/bin/cn/itcast_03/ListDemo.class and b/day15/code/day15_List/bin/cn/itcast_03/ListDemo.class differ diff --git a/day16/code/day16_ArrayList_Vector_LinkedList/.project b/day16/code/day16_ArrayList_Vector_LinkedList/.project index e216fe9f..60cf5877 100644 --- a/day16/code/day16_ArrayList_Vector_LinkedList/.project +++ b/day16/code/day16_ArrayList_Vector_LinkedList/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813318 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_01/ArrayListTest.class b/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_01/ArrayListTest.class index b7e3ed15..9e635ca5 100644 Binary files a/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_01/ArrayListTest.class and b/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_01/ArrayListTest.class differ diff --git a/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_04/ArrayListTest3.class b/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_04/ArrayListTest3.class index d5424892..df3a93d0 100644 Binary files a/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_04/ArrayListTest3.class and b/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_04/ArrayListTest3.class differ diff --git a/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_05/ArrayListDemo.class b/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_05/ArrayListDemo.class index 71fd1dfb..bbbbf301 100644 Binary files a/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_05/ArrayListDemo.class and b/day16/code/day16_ArrayList_Vector_LinkedList/bin/cn/itcast_05/ArrayListDemo.class differ diff --git a/day16/code/day16_Generic/.project b/day16/code/day16_Generic/.project index efadc051..4e41c7c5 100644 --- a/day16/code/day16_Generic/.project +++ b/day16/code/day16_Generic/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813324 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day16/code/day16_Generic/bin/cn/itcast_01/ArrayListTest.class b/day16/code/day16_Generic/bin/cn/itcast_01/ArrayListTest.class index 4abcb39f..f829b02b 100644 Binary files a/day16/code/day16_Generic/bin/cn/itcast_01/ArrayListTest.class and b/day16/code/day16_Generic/bin/cn/itcast_01/ArrayListTest.class differ diff --git a/day16/code/day16_Generic/bin/cn/itcast_02/Student.class b/day16/code/day16_Generic/bin/cn/itcast_02/Student.class index df8f1ea8..a0c8da53 100644 Binary files a/day16/code/day16_Generic/bin/cn/itcast_02/Student.class and b/day16/code/day16_Generic/bin/cn/itcast_02/Student.class differ diff --git a/day16/code/day16_Generic/bin/cn/itcast_02/Teacher.class b/day16/code/day16_Generic/bin/cn/itcast_02/Teacher.class index c1fd4cf7..424e3220 100644 Binary files a/day16/code/day16_Generic/bin/cn/itcast_02/Teacher.class and b/day16/code/day16_Generic/bin/cn/itcast_02/Teacher.class differ diff --git a/day16/code/day16_JDK5News/.project b/day16/code/day16_JDK5News/.project index 2413cc89..c6c26957 100644 --- a/day16/code/day16_JDK5News/.project +++ b/day16/code/day16_JDK5News/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813329 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day16/code/day16_JDK5News/bin/cn/itcast_01/ArrayListTest.class b/day16/code/day16_JDK5News/bin/cn/itcast_01/ArrayListTest.class index f5219486..a8070309 100644 Binary files a/day16/code/day16_JDK5News/bin/cn/itcast_01/ArrayListTest.class and b/day16/code/day16_JDK5News/bin/cn/itcast_01/ArrayListTest.class differ diff --git a/day17/code/day17_List_test/.project b/day17/code/day17_List_test/.project index f19c7947..b6272e43 100644 --- a/day17/code/day17_List_test/.project +++ b/day17/code/day17_List_test/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813335 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day17/code/day17_List_test/bin/cn/itcast_02/GetMaxNumberDemo.class b/day17/code/day17_List_test/bin/cn/itcast_02/GetMaxNumberDemo.class index c625ddcd..a3d1df0a 100644 Binary files a/day17/code/day17_List_test/bin/cn/itcast_02/GetMaxNumberDemo.class and b/day17/code/day17_List_test/bin/cn/itcast_02/GetMaxNumberDemo.class differ diff --git a/day17/code/day17_Set_HashSet_TreeSet/.project b/day17/code/day17_Set_HashSet_TreeSet/.project index 943d198e..c78465ec 100644 --- a/day17/code/day17_Set_HashSet_TreeSet/.project +++ b/day17/code/day17_Set_HashSet_TreeSet/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813341 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_02/HashSetDemo2.class b/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_02/HashSetDemo2.class index c847e886..2db8d790 100644 Binary files a/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_02/HashSetDemo2.class and b/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_02/HashSetDemo2.class differ diff --git a/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_06/TreeSetDemo$1.class b/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_06/TreeSetDemo$1.class index a10b716d..b0c639fe 100644 Binary files a/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_06/TreeSetDemo$1.class and b/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_06/TreeSetDemo$1.class differ diff --git a/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_07/StudentDemo$1.class b/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_07/StudentDemo$1.class index 5de6e70e..c30ae3a4 100644 Binary files a/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_07/StudentDemo$1.class and b/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_07/StudentDemo$1.class differ diff --git a/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_07/StudentDemo.class b/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_07/StudentDemo.class index 09eed451..9ba758e4 100644 Binary files a/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_07/StudentDemo.class and b/day17/code/day17_Set_HashSet_TreeSet/bin/cn/itcast_07/StudentDemo.class differ diff --git a/day17/code/day17_login_regist/.project b/day17/code/day17_login_regist/.project index b591cdfe..f3e30ab4 100644 --- a/day17/code/day17_login_regist/.project +++ b/day17/code/day17_login_regist/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813346 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day17/code/day17_login_regist/bin/cn/itcast/dao/impl/UserDaoImpl.class b/day17/code/day17_login_regist/bin/cn/itcast/dao/impl/UserDaoImpl.class index 37a1fb6f..69b969d4 100644 Binary files a/day17/code/day17_login_regist/bin/cn/itcast/dao/impl/UserDaoImpl.class and b/day17/code/day17_login_regist/bin/cn/itcast/dao/impl/UserDaoImpl.class differ diff --git a/day17/code/day17_login_regist/bin/cn/itcast/game/GuessNumber.class b/day17/code/day17_login_regist/bin/cn/itcast/game/GuessNumber.class index ee0935dc..60d71238 100644 Binary files a/day17/code/day17_login_regist/bin/cn/itcast/game/GuessNumber.class and b/day17/code/day17_login_regist/bin/cn/itcast/game/GuessNumber.class differ diff --git a/day17/code/day17_login_regist/bin/cn/itcast/test/UserTest.class b/day17/code/day17_login_regist/bin/cn/itcast/test/UserTest.class index 669bfc8f..561d57af 100644 Binary files a/day17/code/day17_login_regist/bin/cn/itcast/test/UserTest.class and b/day17/code/day17_login_regist/bin/cn/itcast/test/UserTest.class differ diff --git a/day18/code/day18_Collections/.project b/day18/code/day18_Collections/.project index 18bfb5d7..3ba39e16 100644 --- a/day18/code/day18_Collections/.project +++ b/day18/code/day18_Collections/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813351 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day18/code/day18_Collections/bin/cn/itcast_02/ArrayListDemo$1.class b/day18/code/day18_Collections/bin/cn/itcast_02/ArrayListDemo$1.class index ee4b939b..4051021a 100644 Binary files a/day18/code/day18_Collections/bin/cn/itcast_02/ArrayListDemo$1.class and b/day18/code/day18_Collections/bin/cn/itcast_02/ArrayListDemo$1.class differ diff --git a/day18/code/day18_Collections/bin/cn/itcast_02/ArrayListDemo.class b/day18/code/day18_Collections/bin/cn/itcast_02/ArrayListDemo.class index 7c0aedce..dc15f1b8 100644 Binary files a/day18/code/day18_Collections/bin/cn/itcast_02/ArrayListDemo.class and b/day18/code/day18_Collections/bin/cn/itcast_02/ArrayListDemo.class differ diff --git a/day18/code/day18_Collections/bin/cn/itcast_03/PokerDemo.class b/day18/code/day18_Collections/bin/cn/itcast_03/PokerDemo.class index bbf0f027..236ef401 100644 Binary files a/day18/code/day18_Collections/bin/cn/itcast_03/PokerDemo.class and b/day18/code/day18_Collections/bin/cn/itcast_03/PokerDemo.class differ diff --git a/day18/code/day18_Collections/bin/cn/itcast_04/PokerDemo.class b/day18/code/day18_Collections/bin/cn/itcast_04/PokerDemo.class index b310e5e2..368acfd1 100644 Binary files a/day18/code/day18_Collections/bin/cn/itcast_04/PokerDemo.class and b/day18/code/day18_Collections/bin/cn/itcast_04/PokerDemo.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/.project b/day18/code/day18_Map_HashMap_TreeMap/.project index d229b6f6..1870a598 100644 --- a/day18/code/day18_Map_HashMap_TreeMap/.project +++ b/day18/code/day18_Map_HashMap_TreeMap/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813357 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo.class index e20b4f0a..af81df04 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo2.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo2.class index 1afef076..5f3c12ec 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo2.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo2.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo3.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo3.class index 752a093e..a0e53686 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo3.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo3.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo4.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo4.class index 5fbeac31..4310ef9d 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo4.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_01/MapDemo4.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo.class index 086f13e4..1d324b53 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo2.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo2.class index 6c0ae2cc..45affa5a 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo2.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo2.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo3.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo3.class index afe47d49..518269b9 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo3.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo3.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo4.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo4.class index 26c965dd..60e49f7d 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo4.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_02/HashMapDemo4.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_03/LinkedHashMapDemo.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_03/LinkedHashMapDemo.class index c28671a5..ecf58028 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_03/LinkedHashMapDemo.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_03/LinkedHashMapDemo.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_04/TreeMapDemo.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_04/TreeMapDemo.class index fecc712d..708795ef 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_04/TreeMapDemo.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_04/TreeMapDemo.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_04/TreeMapDemo2$1.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_04/TreeMapDemo2$1.class index 30edac7d..95fc0db9 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_04/TreeMapDemo2$1.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_04/TreeMapDemo2$1.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/ArrayListAndHashMapTest.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/ArrayListAndHashMapTest.class index 77e45ba8..8f10b3f2 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/ArrayListAndHashMapTest.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/ArrayListAndHashMapTest.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/HashMapAndArrayListTest.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/HashMapAndArrayListTest.class index 115c3e93..fb6da580 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/HashMapAndArrayListTest.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/HashMapAndArrayListTest.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/HashMapTest.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/HashMapTest.class index b3fe8e13..280fa44a 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/HashMapTest.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/HashMapTest.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/TreeMapTest.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/TreeMapTest.class index 04e8d1c3..5cd09699 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/TreeMapTest.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_05/TreeMapTest.class differ diff --git a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_06/HashtableDemo.class b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_06/HashtableDemo.class index ed0c3ea4..e8c6f439 100644 Binary files a/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_06/HashtableDemo.class and b/day18/code/day18_Map_HashMap_TreeMap/bin/cn/itcast_06/HashtableDemo.class differ diff --git a/day19/code/day19_Exception/.project b/day19/code/day19_Exception/.project index 0894f7c5..ae9bfc58 100644 --- a/day19/code/day19_Exception/.project +++ b/day19/code/day19_Exception/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813363 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day19/code/day19_Exception/bin/cn/itcast_02/ExceptionDemo.class b/day19/code/day19_Exception/bin/cn/itcast_02/ExceptionDemo.class index 45768967..ab3a7f71 100644 Binary files a/day19/code/day19_Exception/bin/cn/itcast_02/ExceptionDemo.class and b/day19/code/day19_Exception/bin/cn/itcast_02/ExceptionDemo.class differ diff --git a/day19/code/day19_Exception/bin/cn/itcast_02/ExceptionDemo2.class b/day19/code/day19_Exception/bin/cn/itcast_02/ExceptionDemo2.class index 700e64d2..76fcbdff 100644 Binary files a/day19/code/day19_Exception/bin/cn/itcast_02/ExceptionDemo2.class and b/day19/code/day19_Exception/bin/cn/itcast_02/ExceptionDemo2.class differ diff --git a/day19/code/day19_Exception/bin/cn/itcast_03/ExceptionDemo.class b/day19/code/day19_Exception/bin/cn/itcast_03/ExceptionDemo.class index b79f85b2..c9720c1e 100644 Binary files a/day19/code/day19_Exception/bin/cn/itcast_03/ExceptionDemo.class and b/day19/code/day19_Exception/bin/cn/itcast_03/ExceptionDemo.class differ diff --git a/day19/code/day19_Exception/bin/cn/itcast_04/ExceptionDemo.class b/day19/code/day19_Exception/bin/cn/itcast_04/ExceptionDemo.class index 304375bb..612a90ca 100644 Binary files a/day19/code/day19_Exception/bin/cn/itcast_04/ExceptionDemo.class and b/day19/code/day19_Exception/bin/cn/itcast_04/ExceptionDemo.class differ diff --git a/day19/code/day19_Exception/bin/cn/itcast_05/ThrowsDemo.class b/day19/code/day19_Exception/bin/cn/itcast_05/ThrowsDemo.class index f0db5138..a14024c4 100644 Binary files a/day19/code/day19_Exception/bin/cn/itcast_05/ThrowsDemo.class and b/day19/code/day19_Exception/bin/cn/itcast_05/ThrowsDemo.class differ diff --git a/day19/code/day19_Exception/bin/cn/itcast_06/FinallyDemo.class b/day19/code/day19_Exception/bin/cn/itcast_06/FinallyDemo.class index 63102225..5b373767 100644 Binary files a/day19/code/day19_Exception/bin/cn/itcast_06/FinallyDemo.class and b/day19/code/day19_Exception/bin/cn/itcast_06/FinallyDemo.class differ diff --git a/day19/code/day19_Exception/bin/cn/itcast_06/FinallyTest.class b/day19/code/day19_Exception/bin/cn/itcast_06/FinallyTest.class index 1abdc626..3ea6e5ac 100644 Binary files a/day19/code/day19_Exception/bin/cn/itcast_06/FinallyTest.class and b/day19/code/day19_Exception/bin/cn/itcast_06/FinallyTest.class differ diff --git a/day19/code/day19_Exception/bin/cn/itcast_07/Teacher.class b/day19/code/day19_Exception/bin/cn/itcast_07/Teacher.class index 49d36141..b9b4e0a8 100644 Binary files a/day19/code/day19_Exception/bin/cn/itcast_07/Teacher.class and b/day19/code/day19_Exception/bin/cn/itcast_07/Teacher.class differ diff --git a/day19/code/day19_Exception/bin/cn/itcast_07/TeacherTest.class b/day19/code/day19_Exception/bin/cn/itcast_07/TeacherTest.class index ac228233..7f3caf15 100644 Binary files a/day19/code/day19_Exception/bin/cn/itcast_07/TeacherTest.class and b/day19/code/day19_Exception/bin/cn/itcast_07/TeacherTest.class differ diff --git a/day19/code/day19_File/.project b/day19/code/day19_File/.project index 9e58e922..ed2cf226 100644 --- a/day19/code/day19_File/.project +++ b/day19/code/day19_File/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813371 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day19/code/day19_File/bin/cn/itcast_03/FileTest2$1.class b/day19/code/day19_File/bin/cn/itcast_03/FileTest2$1.class index ad0a4a4a..12fc3736 100644 Binary files a/day19/code/day19_File/bin/cn/itcast_03/FileTest2$1.class and b/day19/code/day19_File/bin/cn/itcast_03/FileTest2$1.class differ diff --git a/day20/code/day20_DiGui/.project b/day20/code/day20_DiGui/.project index bcea226b..c6bc5cdd 100644 --- a/day20/code/day20_DiGui/.project +++ b/day20/code/day20_DiGui/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813378 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day20/code/day20_DiGui/bin/cn/itcast_02/DiGuiDemo.class b/day20/code/day20_DiGui/bin/cn/itcast_02/DiGuiDemo.class index 762beb01..5d2e9906 100644 Binary files a/day20/code/day20_DiGui/bin/cn/itcast_02/DiGuiDemo.class and b/day20/code/day20_DiGui/bin/cn/itcast_02/DiGuiDemo.class differ diff --git a/day20/code/day20_DiGui/bin/cn/itcast_02/DiGuiTest.class b/day20/code/day20_DiGui/bin/cn/itcast_02/DiGuiTest.class index c630ad34..89613e58 100644 Binary files a/day20/code/day20_DiGui/bin/cn/itcast_02/DiGuiTest.class and b/day20/code/day20_DiGui/bin/cn/itcast_02/DiGuiTest.class differ diff --git a/day20/code/day20_DiGui/bin/cn/itcast_03/DeleteFolderDemo.class b/day20/code/day20_DiGui/bin/cn/itcast_03/DeleteFolderDemo.class index 8376fd81..539b3641 100644 Binary files a/day20/code/day20_DiGui/bin/cn/itcast_03/DeleteFolderDemo.class and b/day20/code/day20_DiGui/bin/cn/itcast_03/DeleteFolderDemo.class differ diff --git a/day20/code/day20_DiGui/bin/cn/itcast_03/GetAllFileNameDemo.class b/day20/code/day20_DiGui/bin/cn/itcast_03/GetAllFileNameDemo.class index 2d8f258d..a063b01f 100644 Binary files a/day20/code/day20_DiGui/bin/cn/itcast_03/GetAllFileNameDemo.class and b/day20/code/day20_DiGui/bin/cn/itcast_03/GetAllFileNameDemo.class differ diff --git a/day20/code/day20_IO/.project b/day20/code/day20_IO/.project index 7daadb14..33d66d76 100644 --- a/day20/code/day20_IO/.project +++ b/day20/code/day20_IO/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813384 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day20/code/day20_IO/bin/cn/itcast_01/FileOutputStreamDemo3.class b/day20/code/day20_IO/bin/cn/itcast_01/FileOutputStreamDemo3.class index 26b90012..063485b2 100644 Binary files a/day20/code/day20_IO/bin/cn/itcast_01/FileOutputStreamDemo3.class and b/day20/code/day20_IO/bin/cn/itcast_01/FileOutputStreamDemo3.class differ diff --git a/day20/code/day20_IO/bin/cn/itcast_03/CopyAviDemo.class b/day20/code/day20_IO/bin/cn/itcast_03/CopyAviDemo.class index fd988cad..3b7e66de 100644 Binary files a/day20/code/day20_IO/bin/cn/itcast_03/CopyAviDemo.class and b/day20/code/day20_IO/bin/cn/itcast_03/CopyAviDemo.class differ diff --git a/day20/code/day20_IO/bin/cn/itcast_03/CopyImageDemo.class b/day20/code/day20_IO/bin/cn/itcast_03/CopyImageDemo.class index 097e6e1b..82cd566c 100644 Binary files a/day20/code/day20_IO/bin/cn/itcast_03/CopyImageDemo.class and b/day20/code/day20_IO/bin/cn/itcast_03/CopyImageDemo.class differ diff --git a/day20/code/day20_IO/bin/cn/itcast_04/CopyAviDemo.class b/day20/code/day20_IO/bin/cn/itcast_04/CopyAviDemo.class index ffd70f58..ac71ac51 100644 Binary files a/day20/code/day20_IO/bin/cn/itcast_04/CopyAviDemo.class and b/day20/code/day20_IO/bin/cn/itcast_04/CopyAviDemo.class differ diff --git a/day21/code/day21_IO/.project b/day21/code/day21_IO/.project index 1e9cbcab..5fa988bf 100644 --- a/day21/code/day21_IO/.project +++ b/day21/code/day21_IO/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813390 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day21/code/day21_IO/bin/cn/itcast_01/CopyImageDemo.class b/day21/code/day21_IO/bin/cn/itcast_01/CopyImageDemo.class index 5062af35..8696c317 100644 Binary files a/day21/code/day21_IO/bin/cn/itcast_01/CopyImageDemo.class and b/day21/code/day21_IO/bin/cn/itcast_01/CopyImageDemo.class differ diff --git a/day21/code/day21_IO/bin/cn/itcast_03/CopyMP4Demo.class b/day21/code/day21_IO/bin/cn/itcast_03/CopyMP4Demo.class index 59443bab..5a0fdcee 100644 Binary files a/day21/code/day21_IO/bin/cn/itcast_03/CopyMP4Demo.class and b/day21/code/day21_IO/bin/cn/itcast_03/CopyMP4Demo.class differ diff --git a/day21/code/day21_IO/bin/cn/itcast_04/StringDemo.class b/day21/code/day21_IO/bin/cn/itcast_04/StringDemo.class index 01e205f3..bfa75bc0 100644 Binary files a/day21/code/day21_IO/bin/cn/itcast_04/StringDemo.class and b/day21/code/day21_IO/bin/cn/itcast_04/StringDemo.class differ diff --git a/day21/code/day21_IO/bin/cn/itcast_05/StringDemo.class b/day21/code/day21_IO/bin/cn/itcast_05/StringDemo.class index bedde851..20609985 100644 Binary files a/day21/code/day21_IO/bin/cn/itcast_05/StringDemo.class and b/day21/code/day21_IO/bin/cn/itcast_05/StringDemo.class differ diff --git a/day21/code/day21_IO2/.project b/day21/code/day21_IO2/.project index 39910845..8c14b324 100644 --- a/day21/code/day21_IO2/.project +++ b/day21/code/day21_IO2/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813397 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day21/code/day21_IOTest/.project b/day21/code/day21_IOTest/.project index 49ba7f30..0032757b 100644 --- a/day21/code/day21_IOTest/.project +++ b/day21/code/day21_IOTest/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813404 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day21/code/day21_IOTest/bin/cn/itcast_01/CopyBmpDemo.class b/day21/code/day21_IOTest/bin/cn/itcast_01/CopyBmpDemo.class index 1fcbfa08..c6a76a9c 100644 Binary files a/day21/code/day21_IOTest/bin/cn/itcast_01/CopyBmpDemo.class and b/day21/code/day21_IOTest/bin/cn/itcast_01/CopyBmpDemo.class differ diff --git a/day21/code/day21_IOTest/bin/cn/itcast_02/GetNameDemo.class b/day21/code/day21_IOTest/bin/cn/itcast_02/GetNameDemo.class index b8003af2..ae5f434b 100644 Binary files a/day21/code/day21_IOTest/bin/cn/itcast_02/GetNameDemo.class and b/day21/code/day21_IOTest/bin/cn/itcast_02/GetNameDemo.class differ diff --git a/day21/code/day21_IOTest/bin/cn/itcast_04/StudentDemo$1.class b/day21/code/day21_IOTest/bin/cn/itcast_04/StudentDemo$1.class index 13fbf3a4..1ee159b4 100644 Binary files a/day21/code/day21_IOTest/bin/cn/itcast_04/StudentDemo$1.class and b/day21/code/day21_IOTest/bin/cn/itcast_04/StudentDemo$1.class differ diff --git a/day21/code/day21_IOTest/bin/cn/itcast_04/StudentDemo.class b/day21/code/day21_IOTest/bin/cn/itcast_04/StudentDemo.class index b1667fe4..e1029fe6 100644 Binary files a/day21/code/day21_IOTest/bin/cn/itcast_04/StudentDemo.class and b/day21/code/day21_IOTest/bin/cn/itcast_04/StudentDemo.class differ diff --git a/day21/code/day21_login_regist/.project b/day21/code/day21_login_regist/.project index cfeeebda..8043ce81 100644 --- a/day21/code/day21_login_regist/.project +++ b/day21/code/day21_login_regist/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813410 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day21/code/day21_login_regist/bin/cn/itcast/dao/impl/UserDaoImpl.class b/day21/code/day21_login_regist/bin/cn/itcast/dao/impl/UserDaoImpl.class index 1c75ca57..f7906b66 100644 Binary files a/day21/code/day21_login_regist/bin/cn/itcast/dao/impl/UserDaoImpl.class and b/day21/code/day21_login_regist/bin/cn/itcast/dao/impl/UserDaoImpl.class differ diff --git a/day21/code/day21_login_regist/bin/cn/itcast/game/GuessNumber.class b/day21/code/day21_login_regist/bin/cn/itcast/game/GuessNumber.class index ee0935dc..60d71238 100644 Binary files a/day21/code/day21_login_regist/bin/cn/itcast/game/GuessNumber.class and b/day21/code/day21_login_regist/bin/cn/itcast/game/GuessNumber.class differ diff --git a/day21/code/day21_login_regist/bin/cn/itcast/test/UserTest.class b/day21/code/day21_login_regist/bin/cn/itcast/test/UserTest.class index 669bfc8f..561d57af 100644 Binary files a/day21/code/day21_login_regist/bin/cn/itcast/test/UserTest.class and b/day21/code/day21_login_regist/bin/cn/itcast/test/UserTest.class differ diff --git a/day22/code/day22_IO/.project b/day22/code/day22_IO/.project index 52249434..262fe874 100644 --- a/day22/code/day22_IO/.project +++ b/day22/code/day22_IO/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813416 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day22/code/day22_IO/bin/cn/itcast_07/SystemInDemo.class b/day22/code/day22_IO/bin/cn/itcast_07/SystemInDemo.class index 5c7f1f20..f59025e8 100644 Binary files a/day22/code/day22_IO/bin/cn/itcast_07/SystemInDemo.class and b/day22/code/day22_IO/bin/cn/itcast_07/SystemInDemo.class differ diff --git a/day22/code/day22_IO/bin/cn/itcast_08/RandomAccessFileDemo.class b/day22/code/day22_IO/bin/cn/itcast_08/RandomAccessFileDemo.class index e5dfd5f1..afee77c8 100644 Binary files a/day22/code/day22_IO/bin/cn/itcast_08/RandomAccessFileDemo.class and b/day22/code/day22_IO/bin/cn/itcast_08/RandomAccessFileDemo.class differ diff --git a/day22/code/day22_IO/bin/cn/itcast_10/ObjectStreamDemo.class b/day22/code/day22_IO/bin/cn/itcast_10/ObjectStreamDemo.class index 6c630401..a0cbc517 100644 Binary files a/day22/code/day22_IO/bin/cn/itcast_10/ObjectStreamDemo.class and b/day22/code/day22_IO/bin/cn/itcast_10/ObjectStreamDemo.class differ diff --git a/day22/code/day22_IO/bin/cn/itcast_11/GuessNumberGame.class b/day22/code/day22_IO/bin/cn/itcast_11/GuessNumberGame.class index fddc8b5e..866e43c4 100644 Binary files a/day22/code/day22_IO/bin/cn/itcast_11/GuessNumberGame.class and b/day22/code/day22_IO/bin/cn/itcast_11/GuessNumberGame.class differ diff --git a/day22/code/day22_IO/bin/cn/itcast_11/PropertiesTest2.class b/day22/code/day22_IO/bin/cn/itcast_11/PropertiesTest2.class index 7d8cc0a4..d9381f0e 100644 Binary files a/day22/code/day22_IO/bin/cn/itcast_11/PropertiesTest2.class and b/day22/code/day22_IO/bin/cn/itcast_11/PropertiesTest2.class differ diff --git a/day23/code/day23_Thread/.project b/day23/code/day23_Thread/.project index ce755da3..ba2c935d 100644 --- a/day23/code/day23_Thread/.project +++ b/day23/code/day23_Thread/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813422 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day23/code/day23_Thread/bin/cn/itcast_02/MyThreadDemo.class b/day23/code/day23_Thread/bin/cn/itcast_02/MyThreadDemo.class index ab07d589..a21efe41 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_02/MyThreadDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_02/MyThreadDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_03/ThreadPriorityDemo.class b/day23/code/day23_Thread/bin/cn/itcast_03/ThreadPriorityDemo.class index 0a10b4e2..5c66231a 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_03/ThreadPriorityDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_03/ThreadPriorityDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadDaemonDemo.class b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadDaemonDemo.class index 4e998727..20a34ead 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadDaemonDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadDaemonDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadJoinDemo.class b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadJoinDemo.class index 1024ba7c..bce690cb 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadJoinDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadJoinDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadKill.class b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadKill.class index f158b51c..f7bc11fc 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadKill.class and b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadKill.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadKillDemo.class b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadKillDemo.class index ed9d5039..85004b6c 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadKillDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadKillDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadSleep.class b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadSleep.class index 0d02155d..37b332ba 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadSleep.class and b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadSleep.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadSleepDemo.class b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadSleepDemo.class index 0e0894c3..06b3741f 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadSleepDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadSleepDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadYieldDemo.class b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadYieldDemo.class index 33a32e19..131ac174 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_04/ThreadYieldDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_04/ThreadYieldDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_05/MyRunnableDemo.class b/day23/code/day23_Thread/bin/cn/itcast_05/MyRunnableDemo.class index 52831952..d2d98979 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_05/MyRunnableDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_05/MyRunnableDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_06/MovieTicket.class b/day23/code/day23_Thread/bin/cn/itcast_06/MovieTicket.class index 709b2a1d..2624736e 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_06/MovieTicket.class and b/day23/code/day23_Thread/bin/cn/itcast_06/MovieTicket.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_06/MovieTicketDemo.class b/day23/code/day23_Thread/bin/cn/itcast_06/MovieTicketDemo.class index 383dc3d7..124ffc81 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_06/MovieTicketDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_06/MovieTicketDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_07/MovieTicket.class b/day23/code/day23_Thread/bin/cn/itcast_07/MovieTicket.class index 91210f41..82ef7638 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_07/MovieTicket.class and b/day23/code/day23_Thread/bin/cn/itcast_07/MovieTicket.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_07/MovieTicketDemo.class b/day23/code/day23_Thread/bin/cn/itcast_07/MovieTicketDemo.class index 9d70b451..564a3351 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_07/MovieTicketDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_07/MovieTicketDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_08/MovieTicket.class b/day23/code/day23_Thread/bin/cn/itcast_08/MovieTicket.class index d13dc440..c6fdad90 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_08/MovieTicket.class and b/day23/code/day23_Thread/bin/cn/itcast_08/MovieTicket.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_08/MovieTicketDemo.class b/day23/code/day23_Thread/bin/cn/itcast_08/MovieTicketDemo.class index e724216e..8adcacd5 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_08/MovieTicketDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_08/MovieTicketDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_09/MovieTicket.class b/day23/code/day23_Thread/bin/cn/itcast_09/MovieTicket.class index 45600c45..9f6c9f09 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_09/MovieTicket.class and b/day23/code/day23_Thread/bin/cn/itcast_09/MovieTicket.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_09/MovieTicketDemo.class b/day23/code/day23_Thread/bin/cn/itcast_09/MovieTicketDemo.class index 2eb6c7bd..6be5498e 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_09/MovieTicketDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_09/MovieTicketDemo.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_10/MovieTicket.class b/day23/code/day23_Thread/bin/cn/itcast_10/MovieTicket.class index c1aa6769..1cc928ea 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_10/MovieTicket.class and b/day23/code/day23_Thread/bin/cn/itcast_10/MovieTicket.class differ diff --git a/day23/code/day23_Thread/bin/cn/itcast_10/MovieTicketDemo.class b/day23/code/day23_Thread/bin/cn/itcast_10/MovieTicketDemo.class index 446d002c..648cfaf4 100644 Binary files a/day23/code/day23_Thread/bin/cn/itcast_10/MovieTicketDemo.class and b/day23/code/day23_Thread/bin/cn/itcast_10/MovieTicketDemo.class differ diff --git a/day24/code/day24_Pattern/.project b/day24/code/day24_Pattern/.project index dbaf6e96..28d7b291 100644 --- a/day24/code/day24_Pattern/.project +++ b/day24/code/day24_Pattern/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813429 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day24/code/day24_Pattern/bin/cn/itcast_01/Student.class b/day24/code/day24_Pattern/bin/cn/itcast_01/Student.class index db49e946..16048a1c 100644 Binary files a/day24/code/day24_Pattern/bin/cn/itcast_01/Student.class and b/day24/code/day24_Pattern/bin/cn/itcast_01/Student.class differ diff --git a/day24/code/day24_Pattern/bin/cn/itcast_02/Teacher.class b/day24/code/day24_Pattern/bin/cn/itcast_02/Teacher.class index 109e9957..5b7b631a 100644 Binary files a/day24/code/day24_Pattern/bin/cn/itcast_02/Teacher.class and b/day24/code/day24_Pattern/bin/cn/itcast_02/Teacher.class differ diff --git a/day24/code/day24_Thread/.project b/day24/code/day24_Thread/.project index b109ddcc..10fa6c7f 100644 --- a/day24/code/day24_Thread/.project +++ b/day24/code/day24_Thread/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813437 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day24/code/day24_Thread/bin/cn/itcast_01/MovieTicket.class b/day24/code/day24_Thread/bin/cn/itcast_01/MovieTicket.class index d338b279..83ae00c2 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_01/MovieTicket.class and b/day24/code/day24_Thread/bin/cn/itcast_01/MovieTicket.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_01/MovieTicketDemo.class b/day24/code/day24_Thread/bin/cn/itcast_01/MovieTicketDemo.class index 83e24f8e..c9c87804 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_01/MovieTicketDemo.class and b/day24/code/day24_Thread/bin/cn/itcast_01/MovieTicketDemo.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_02/MyLock.class b/day24/code/day24_Thread/bin/cn/itcast_02/MyLock.class index 598e4cf1..4c799646 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_02/MyLock.class and b/day24/code/day24_Thread/bin/cn/itcast_02/MyLock.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_03/SetThread.class b/day24/code/day24_Thread/bin/cn/itcast_03/SetThread.class index b7fc9df1..20b264cd 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_03/SetThread.class and b/day24/code/day24_Thread/bin/cn/itcast_03/SetThread.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_04/SetThread.class b/day24/code/day24_Thread/bin/cn/itcast_04/SetThread.class index 857d4286..ed7761e8 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_04/SetThread.class and b/day24/code/day24_Thread/bin/cn/itcast_04/SetThread.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_05/GetThread.class b/day24/code/day24_Thread/bin/cn/itcast_05/GetThread.class index 58e174db..1be1f4da 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_05/GetThread.class and b/day24/code/day24_Thread/bin/cn/itcast_05/GetThread.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_05/SetThread.class b/day24/code/day24_Thread/bin/cn/itcast_05/SetThread.class index ffa122a1..c5ec8773 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_05/SetThread.class and b/day24/code/day24_Thread/bin/cn/itcast_05/SetThread.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_06/SetThread.class b/day24/code/day24_Thread/bin/cn/itcast_06/SetThread.class index a070c91c..9ae70707 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_06/SetThread.class and b/day24/code/day24_Thread/bin/cn/itcast_06/SetThread.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_06/Student.class b/day24/code/day24_Thread/bin/cn/itcast_06/Student.class index 038243e9..46aa66b8 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_06/Student.class and b/day24/code/day24_Thread/bin/cn/itcast_06/Student.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_11/NiMingDemo$1.class b/day24/code/day24_Thread/bin/cn/itcast_11/NiMingDemo$1.class index 7fc09e12..789283cc 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_11/NiMingDemo$1.class and b/day24/code/day24_Thread/bin/cn/itcast_11/NiMingDemo$1.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_11/NiMingDemo$2.class b/day24/code/day24_Thread/bin/cn/itcast_11/NiMingDemo$2.class index 24f8ad53..3ecf3294 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_11/NiMingDemo$2.class and b/day24/code/day24_Thread/bin/cn/itcast_11/NiMingDemo$2.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_12/DeleteFolder.class b/day24/code/day24_Thread/bin/cn/itcast_12/DeleteFolder.class index ce51e8d4..322c8f35 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_12/DeleteFolder.class and b/day24/code/day24_Thread/bin/cn/itcast_12/DeleteFolder.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_12/MyTask.class b/day24/code/day24_Thread/bin/cn/itcast_12/MyTask.class index 02a1d31c..9de96864 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_12/MyTask.class and b/day24/code/day24_Thread/bin/cn/itcast_12/MyTask.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_12/TimerDemo$1.class b/day24/code/day24_Thread/bin/cn/itcast_12/TimerDemo$1.class index c4e6d79f..03e4e119 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_12/TimerDemo$1.class and b/day24/code/day24_Thread/bin/cn/itcast_12/TimerDemo$1.class differ diff --git a/day24/code/day24_Thread/bin/cn/itcast_12/TimerDemo2$1.class b/day24/code/day24_Thread/bin/cn/itcast_12/TimerDemo2$1.class index 5203a9a5..ef649e8b 100644 Binary files a/day24/code/day24_Thread/bin/cn/itcast_12/TimerDemo2$1.class and b/day24/code/day24_Thread/bin/cn/itcast_12/TimerDemo2$1.class differ diff --git "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/.project" "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/.project" index 1d6b6833..ce88a612 100644 --- "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/.project" +++ "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/.project" @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813196 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/dao/impl/UserDaoImpl.class" "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/dao/impl/UserDaoImpl.class" index 992ea79c..bb6b041d 100644 Binary files "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/dao/impl/UserDaoImpl.class" and "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/dao/impl/UserDaoImpl.class" differ diff --git "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/GuessNumberJFrame$1.class" "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/GuessNumberJFrame$1.class" index 80a11eaa..f04939eb 100644 Binary files "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/GuessNumberJFrame$1.class" and "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/GuessNumberJFrame$1.class" differ diff --git "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/GuessNumberJFrame.class" "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/GuessNumberJFrame.class" index 41619cea..2675a500 100644 Binary files "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/GuessNumberJFrame.class" and "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/GuessNumberJFrame.class" differ diff --git "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$1.class" "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$1.class" index 35ea6b5b..b8c0473d 100644 Binary files "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$1.class" and "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$1.class" differ diff --git "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$2.class" "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$2.class" index 265fb579..54bb5f5b 100644 Binary files "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$2.class" and "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$2.class" differ diff --git "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$3.class" "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$3.class" index 1b43b738..e16d9882 100644 Binary files "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$3.class" and "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$3.class" differ diff --git "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$4.class" "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$4.class" index 99e8da46..052a3cba 100644 Binary files "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$4.class" and "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame$4.class" differ diff --git "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame.class" "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame.class" index 42613eb9..d84312ad 100644 Binary files "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame.class" and "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/LoginJFrame.class" differ diff --git "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/RegistJFrame$1.class" "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/RegistJFrame$1.class" index db9484fd..f1545a74 100644 Binary files "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/RegistJFrame$1.class" and "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/RegistJFrame$1.class" differ diff --git "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/RegistJFrame$2.class" "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/RegistJFrame$2.class" index 52b94979..c606560c 100644 Binary files "a/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/RegistJFrame$2.class" and "b/day25/code/Eclipse\347\211\210\346\234\254\347\232\204\347\231\273\345\275\225\346\263\250\345\206\214/bin/cn/itcast/view/RegistJFrame$2.class" differ diff --git a/day25/code/day25_Frame/.project b/day25/code/day25_Frame/.project index 948ac624..9669d80e 100644 --- a/day25/code/day25_Frame/.project +++ b/day25/code/day25_Frame/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813443 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day25/code/day25_Frame/bin/cn/itcast_01/FrameDemo.class b/day25/code/day25_Frame/bin/cn/itcast_01/FrameDemo.class index 2847f295..14f442ae 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_01/FrameDemo.class and b/day25/code/day25_Frame/bin/cn/itcast_01/FrameDemo.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo$1.class b/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo$1.class index 47b412ec..d92bdb2b 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo$1.class and b/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo$1.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo.class b/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo.class index 136b9fd3..8cf4ee8c 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo.class and b/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo2$1.class b/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo2$1.class index c2cc230b..6f45c5d6 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo2$1.class and b/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo2$1.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo2.class b/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo2.class index f2e781bf..8ac1e10b 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo2.class and b/day25/code/day25_Frame/bin/cn/itcast_02/FrameDemo2.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo$1.class b/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo$1.class index 21b62240..ec7af2d5 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo$1.class and b/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo$1.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo$2.class b/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo$2.class index ba97b9c5..7a33ab80 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo$2.class and b/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo$2.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo.class b/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo.class index 204613bf..7235bb17 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo.class and b/day25/code/day25_Frame/bin/cn/itcast_03/ButtonDemo.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo$1.class b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo$1.class index 997f3db4..dfcf0a0b 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo$1.class and b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo$1.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo$2.class b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo$2.class index c2f7ce2e..d15018d8 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo$2.class and b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo$2.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo.class b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo.class index 9bbc7400..e9d3da5d 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo.class and b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$1.class b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$1.class index a2b6e382..0d6ca754 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$1.class and b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$1.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$2.class b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$2.class index 943b1434..025de571 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$2.class and b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$2.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$3.class b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$3.class index 7682ef98..a5b4fcba 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$3.class and b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2$3.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2.class b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2.class index cd2ec5a6..bcc51efe 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2.class and b/day25/code/day25_Frame/bin/cn/itcast_04/TextDemo2.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$1.class b/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$1.class index e70b8e22..819d0289 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$1.class and b/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$1.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$2.class b/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$2.class index d0e08075..87f512ec 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$2.class and b/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$2.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$3.class b/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$3.class index bf0be770..2839ea4b 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$3.class and b/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo$3.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo.class b/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo.class index 998d691f..006679aa 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo.class and b/day25/code/day25_Frame/bin/cn/itcast_05/MouseDemo.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo$1.class b/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo$1.class index 4de7fd34..5d93ede4 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo$1.class and b/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo$1.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo$2.class b/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo$2.class index 34c465f2..71c562dd 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo$2.class and b/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo$2.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo.class b/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo.class index 0edfa914..758e51e7 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo.class and b/day25/code/day25_Frame/bin/cn/itcast_06/KeyDemo.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo$1.class b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo$1.class index 7169849c..ffd57ee6 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo$1.class and b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo$1.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo$2.class b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo$2.class index 8081396a..60cf65d3 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo$2.class and b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo$2.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo.class b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo.class index 31bd1365..e8e9f999 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo.class and b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$1.class b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$1.class index e1f80dfa..967c381e 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$1.class and b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$1.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$2.class b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$2.class index a2f297be..9f0e84c2 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$2.class and b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$2.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$3.class b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$3.class index f4c9f64b..e8e794b8 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$3.class and b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$3.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$4.class b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$4.class index 24c743b5..ffefe6b9 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$4.class and b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$4.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$5.class b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$5.class index 7bf9a8be..cf49c9a3 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$5.class and b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$5.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$6.class b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$6.class index 86a22831..143b7b32 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$6.class and b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2$6.class differ diff --git a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2.class b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2.class index 41373137..fe83d185 100644 Binary files a/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2.class and b/day25/code/day25_Frame/bin/cn/itcast_07/MenuDemo2.class differ diff --git a/day25/code/txz_demo/.project b/day25/code/txz_demo/.project index f5c537de..1b6163dc 100644 --- a/day25/code/txz_demo/.project +++ b/day25/code/txz_demo/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813448 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day25/code/txz_demo/bin/.project b/day25/code/txz_demo/bin/.project index 7f4dc1f6..b2e1646e 100644 --- a/day25/code/txz_demo/bin/.project +++ b/day25/code/txz_demo/bin/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813203 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day25/code/txz_demo/bin/cn/itcast/txz/ui/MainFrame$1.class b/day25/code/txz_demo/bin/cn/itcast/txz/ui/MainFrame$1.class index 9aa060a1..93b55f5f 100644 Binary files a/day25/code/txz_demo/bin/cn/itcast/txz/ui/MainFrame$1.class and b/day25/code/txz_demo/bin/cn/itcast/txz/ui/MainFrame$1.class differ diff --git a/day25/code/txz_demo/bin/cn/itcast/txz/ui/MainFrame.class b/day25/code/txz_demo/bin/cn/itcast/txz/ui/MainFrame.class index 52c80d65..1fd5c281 100644 Binary files a/day25/code/txz_demo/bin/cn/itcast/txz/ui/MainFrame.class and b/day25/code/txz_demo/bin/cn/itcast/txz/ui/MainFrame.class differ diff --git a/day25/code/txz_demo/src/.project b/day25/code/txz_demo/src/.project index 7f4dc1f6..b2e1646e 100644 --- a/day25/code/txz_demo/src/.project +++ b/day25/code/txz_demo/src/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813203 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day26/resource/chat_socket_client/.project b/day26/resource/chat_socket_client/.project index 6f0ae3fd..9eca8e62 100644 --- a/day26/resource/chat_socket_client/.project +++ b/day26/resource/chat_socket_client/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813214 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day26/resource/chat_socket_client/bin/com/elient/Client.class b/day26/resource/chat_socket_client/bin/com/elient/Client.class index 9401f745..35a9036a 100644 Binary files a/day26/resource/chat_socket_client/bin/com/elient/Client.class and b/day26/resource/chat_socket_client/bin/com/elient/Client.class differ diff --git a/day26/resource/chat_socket_client/bin/com/elient/Client_chatFrame$1.class b/day26/resource/chat_socket_client/bin/com/elient/Client_chatFrame$1.class index ec44ce0e..2527e204 100644 Binary files a/day26/resource/chat_socket_client/bin/com/elient/Client_chatFrame$1.class and b/day26/resource/chat_socket_client/bin/com/elient/Client_chatFrame$1.class differ diff --git a/day26/resource/chat_socket_client/bin/com/elient/Client_chatFrame.class b/day26/resource/chat_socket_client/bin/com/elient/Client_chatFrame.class index aa5d044e..ac6ea9e3 100644 Binary files a/day26/resource/chat_socket_client/bin/com/elient/Client_chatFrame.class and b/day26/resource/chat_socket_client/bin/com/elient/Client_chatFrame.class differ diff --git a/day26/resource/chat_socket_client/bin/com/elient/Client_enterFrame$1.class b/day26/resource/chat_socket_client/bin/com/elient/Client_enterFrame$1.class index 15d7a403..b9f71a11 100644 Binary files a/day26/resource/chat_socket_client/bin/com/elient/Client_enterFrame$1.class and b/day26/resource/chat_socket_client/bin/com/elient/Client_enterFrame$1.class differ diff --git a/day26/resource/chat_socket_client/bin/com/elient/Client_enterFrame.class b/day26/resource/chat_socket_client/bin/com/elient/Client_enterFrame.class index 823287c4..2a0ffddb 100644 Binary files a/day26/resource/chat_socket_client/bin/com/elient/Client_enterFrame.class and b/day26/resource/chat_socket_client/bin/com/elient/Client_enterFrame.class differ diff --git a/day26/resource/chat_socket_client/bin/com/elient/Client_singleFrame$1.class b/day26/resource/chat_socket_client/bin/com/elient/Client_singleFrame$1.class index f455c196..254ac99b 100644 Binary files a/day26/resource/chat_socket_client/bin/com/elient/Client_singleFrame$1.class and b/day26/resource/chat_socket_client/bin/com/elient/Client_singleFrame$1.class differ diff --git a/day26/resource/chat_socket_client/bin/com/elient/Client_singleFrame.class b/day26/resource/chat_socket_client/bin/com/elient/Client_singleFrame.class index e36057b4..a85269ac 100644 Binary files a/day26/resource/chat_socket_client/bin/com/elient/Client_singleFrame.class and b/day26/resource/chat_socket_client/bin/com/elient/Client_singleFrame.class differ diff --git a/day26/resource/chat_socket_server/.project b/day26/resource/chat_socket_server/.project index f683704a..5133fe31 100644 --- a/day26/resource/chat_socket_server/.project +++ b/day26/resource/chat_socket_server/.project @@ -14,4 +14,15 @@ org.eclipse.jdt.core.javanature + + + 1645944813222 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/day26/resource/chat_socket_server/bin/com/server/BroadCast.class b/day26/resource/chat_socket_server/bin/com/server/BroadCast.class index 5baa977b..3801b18c 100644 Binary files a/day26/resource/chat_socket_server/bin/com/server/BroadCast.class and b/day26/resource/chat_socket_server/bin/com/server/BroadCast.class differ diff --git a/day26/resource/chat_socket_server/bin/com/server/ClientThread.class b/day26/resource/chat_socket_server/bin/com/server/ClientThread.class index 6fbab69c..afed9e77 100644 Binary files a/day26/resource/chat_socket_server/bin/com/server/ClientThread.class and b/day26/resource/chat_socket_server/bin/com/server/ClientThread.class differ diff --git a/day26/resource/chat_socket_server/bin/com/server/Server.class b/day26/resource/chat_socket_server/bin/com/server/Server.class index 6f2029ec..30948b8f 100644 Binary files a/day26/resource/chat_socket_server/bin/com/server/Server.class and b/day26/resource/chat_socket_server/bin/com/server/Server.class differ diff --git a/day26/resource/chat_socket_server/bin/com/server/ServerFrame$1.class b/day26/resource/chat_socket_server/bin/com/server/ServerFrame$1.class index 974083b1..dea9ff38 100644 Binary files a/day26/resource/chat_socket_server/bin/com/server/ServerFrame$1.class and b/day26/resource/chat_socket_server/bin/com/server/ServerFrame$1.class differ diff --git a/day26/resource/chat_socket_server/bin/com/server/ServerFrame.class b/day26/resource/chat_socket_server/bin/com/server/ServerFrame.class index 4d35b3ca..d0d389a3 100644 Binary files a/day26/resource/chat_socket_server/bin/com/server/ServerFrame.class and b/day26/resource/chat_socket_server/bin/com/server/ServerFrame.class differ diff --git a/day26/resource/chat_socket_server/bin/com/server/ServerThread.class b/day26/resource/chat_socket_server/bin/com/server/ServerThread.class index 0daa330f..2073ef91 100644 Binary files a/day26/resource/chat_socket_server/bin/com/server/ServerThread.class and b/day26/resource/chat_socket_server/bin/com/server/ServerThread.class differ diff --git a/js/.vscode/launch.json b/js/.vscode/launch.json new file mode 100644 index 00000000..2ef4b09e --- /dev/null +++ b/js/.vscode/launch.json @@ -0,0 +1,17 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "pwa-node", + "request": "launch", + "name": "Launch Program", + "skipFiles": [ + "/**" + ], + "program": "${file}" + } + ] +} \ No newline at end of file diff --git a/js/add.html b/js/add.html new file mode 100644 index 00000000..e69de29b diff --git a/js/add.js b/js/add.js new file mode 100644 index 00000000..e69de29b diff --git a/practice/test/.vs/ProjectSettings.json b/practice/test/.vs/ProjectSettings.json new file mode 100644 index 00000000..f8b48885 --- /dev/null +++ b/practice/test/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": null +} \ No newline at end of file diff --git a/practice/test/.vs/VSWorkspaceState.json b/practice/test/.vs/VSWorkspaceState.json new file mode 100644 index 00000000..a90e2675 --- /dev/null +++ b/practice/test/.vs/VSWorkspaceState.json @@ -0,0 +1,8 @@ +{ + "ExpandedNodes": [ + "", + "\\src" + ], + "SelectedNode": "\\src\\App.java", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/practice/test/.vs/slnx.sqlite b/practice/test/.vs/slnx.sqlite new file mode 100644 index 00000000..f0587466 Binary files /dev/null and b/practice/test/.vs/slnx.sqlite differ diff --git a/practice/test/.vs/test/v16/.suo b/practice/test/.vs/test/v16/.suo new file mode 100644 index 00000000..609dc845 Binary files /dev/null and b/practice/test/.vs/test/v16/.suo differ diff --git a/practice/test/.vscode/launch.json b/practice/test/.vscode/launch.json new file mode 100644 index 00000000..333825d1 --- /dev/null +++ b/practice/test/.vscode/launch.json @@ -0,0 +1,371 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "java", + "name": "Launch CetDemo", + "request": "launch", + "mainClass": "day12.CetDemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch ListDemo", + "request": "launch", + "mainClass": "day12.Student.ListDemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch CollectionDemo", + "request": "launch", + "mainClass": "day12.Student.CollectionDemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch PanelTest", + "request": "launch", + "mainClass": "day11.Component.PanelTest", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch ComponentTest", + "request": "launch", + "mainClass": "day11.Component.ComponentTest", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch ExceptionDemo", + "request": "launch", + "mainClass": "day11.Exception.ExceptionDemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch Trycatch", + "request": "launch", + "mainClass": "day11.Trycatch", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch GetFeb", + "request": "launch", + "mainClass": "day11.GetFeb", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch DateDemo", + "request": "launch", + "mainClass": "day11.DateDemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch IntegerTest", + "request": "launch", + "mainClass": "day11.IntegerTest", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch maopao", + "request": "launch", + "mainClass": "day10.maopao", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch ComputerTest", + "request": "launch", + "mainClass": "day10.ComputerTest", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch testdemo", + "request": "launch", + "mainClass": "day10.OuterInner.testdemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch PersonDemo", + "request": "launch", + "mainClass": "day10.PlayerAndCoach.PersonDemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch AnimalDemo", + "request": "launch", + "mainClass": "day10.AnimalDemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch HumanDemo", + "request": "launch", + "mainClass": "day09.HumanDemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch PhoneDemo", + "request": "launch", + "mainClass": "day09.PhoneDemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch student02", + "request": "launch", + "mainClass": "day08.student02", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch add", + "request": "launch", + "mainClass": "day08.add", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch traverse_string", + "request": "launch", + "mainClass": "day08.traverse_string", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch sort", + "request": "launch", + "mainClass": "problems.sort", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch quanpailie", + "request": "launch", + "mainClass": "problems.quanpailie", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch test1", + "request": "launch", + "mainClass": "StudentManager.test1", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch manager", + "request": "launch", + "mainClass": "StudentManager.manager", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch studentdemo", + "request": "launch", + "mainClass": "day07.studentdemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch studentdemo", + "request": "launch", + "mainClass": "day06.studentdemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch phonedemo", + "request": "launch", + "mainClass": "day06.phonedemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch judge", + "request": "launch", + "mainClass": "day06.judge", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch arrupdown", + "request": "launch", + "mainClass": "day06.arrupdown", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch arrcheck", + "request": "launch", + "mainClass": "day05.arrcheck", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch arrtoarr", + "request": "launch", + "mainClass": "day05.arrtoarr", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch rabbit", + "request": "launch", + "mainClass": "day05.rabbit", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch sevenpast", + "request": "launch", + "mainClass": "day05.sevenpast", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch workout", + "request": "launch", + "mainClass": "day05.workout", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch reload", + "request": "launch", + "mainClass": "day05.reload", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch getmax", + "request": "launch", + "mainClass": "day05.getmax", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch returndemo", + "request": "launch", + "mainClass": "day05.returndemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch getmax", + "request": "launch", + "mainClass": "day04.getmax", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch arrdemo", + "request": "launch", + "mainClass": "day04.arrdemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch randomdemo", + "request": "launch", + "mainClass": "day04.randomdemo", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch continue1", + "request": "launch", + "mainClass": "day04.continue1", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch and", + "request": "launch", + "mainClass": "day03.and", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch reward", + "request": "launch", + "mainClass": "day03.reward", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch season", + "request": "launch", + "mainClass": "day03.season", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch week", + "request": "launch", + "mainClass": "day03.week", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch day03", + "request": "launch", + "mainClass": "day03.day03", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch day03", + "request": "launch", + "mainClass": "day03", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch day02", + "request": "launch", + "mainClass": "day02", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch day01", + "request": "launch", + "mainClass": "day01", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch test", + "request": "launch", + "mainClass": "test", + "projectName": "test_a0501e95" + }, + { + "type": "java", + "name": "Launch Current File", + "request": "launch", + "mainClass": "${file}" + }, + { + "type": "java", + "name": "Launch App", + "request": "launch", + "mainClass": "App", + "projectName": "test_a0501e95" + } + ] +} \ No newline at end of file diff --git a/practice/test/.vscode/settings.json b/practice/test/.vscode/settings.json new file mode 100644 index 00000000..1f379c6e --- /dev/null +++ b/practice/test/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "java.jdt.ls.java.home": "D:\\project\\java\\JDK17", + "java.project.sourcePaths": ["src"], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] +} diff --git a/practice/test/README.md b/practice/test/README.md new file mode 100644 index 00000000..7c03a532 --- /dev/null +++ b/practice/test/README.md @@ -0,0 +1,18 @@ +## Getting Started + +Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code. + +## Folder Structure + +The workspace contains two folders by default, where: + +- `src`: the folder to maintain sources +- `lib`: the folder to maintain dependencies + +Meanwhile, the compiled output files will be generated in the `bin` folder by default. + +> If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there. + +## Dependency Management + +The `JAVA PROJECTS` view allows you to manage your dependencies. More details can be found [here](https://github.com/microsoft/vscode-java-dependency#manage-dependencies). diff --git a/practice/test/bin/App.class b/practice/test/bin/App.class new file mode 100644 index 00000000..34799af2 Binary files /dev/null and b/practice/test/bin/App.class differ diff --git a/practice/test/bin/StudentManager/Student.class b/practice/test/bin/StudentManager/Student.class new file mode 100644 index 00000000..f7ddcbe7 Binary files /dev/null and b/practice/test/bin/StudentManager/Student.class differ diff --git a/practice/test/bin/StudentManager/manager.class b/practice/test/bin/StudentManager/manager.class new file mode 100644 index 00000000..70868c2b Binary files /dev/null and b/practice/test/bin/StudentManager/manager.class differ diff --git a/practice/test/bin/day01.class b/practice/test/bin/day01.class new file mode 100644 index 00000000..08df79e8 Binary files /dev/null and b/practice/test/bin/day01.class differ diff --git a/practice/test/bin/day02.class b/practice/test/bin/day02.class new file mode 100644 index 00000000..734bc09c Binary files /dev/null and b/practice/test/bin/day02.class differ diff --git a/practice/test/bin/day03/and.class b/practice/test/bin/day03/and.class new file mode 100644 index 00000000..e0ae594b Binary files /dev/null and b/practice/test/bin/day03/and.class differ diff --git a/practice/test/bin/day03/day03.class b/practice/test/bin/day03/day03.class new file mode 100644 index 00000000..f3b49473 Binary files /dev/null and b/practice/test/bin/day03/day03.class differ diff --git a/practice/test/bin/day03/reward.class b/practice/test/bin/day03/reward.class new file mode 100644 index 00000000..64c43488 Binary files /dev/null and b/practice/test/bin/day03/reward.class differ diff --git a/practice/test/bin/day03/season.class b/practice/test/bin/day03/season.class new file mode 100644 index 00000000..3f66fc4d Binary files /dev/null and b/practice/test/bin/day03/season.class differ diff --git a/practice/test/bin/day03/week.class b/practice/test/bin/day03/week.class new file mode 100644 index 00000000..618780b8 Binary files /dev/null and b/practice/test/bin/day03/week.class differ diff --git a/practice/test/bin/day04/arrdemo.class b/practice/test/bin/day04/arrdemo.class new file mode 100644 index 00000000..173d8bb9 Binary files /dev/null and b/practice/test/bin/day04/arrdemo.class differ diff --git a/practice/test/bin/day04/continue1.class b/practice/test/bin/day04/continue1.class new file mode 100644 index 00000000..519612b6 Binary files /dev/null and b/practice/test/bin/day04/continue1.class differ diff --git a/practice/test/bin/day04/getmax.class b/practice/test/bin/day04/getmax.class new file mode 100644 index 00000000..f617643d Binary files /dev/null and b/practice/test/bin/day04/getmax.class differ diff --git a/practice/test/bin/day04/randomdemo.class b/practice/test/bin/day04/randomdemo.class new file mode 100644 index 00000000..536c3ff3 Binary files /dev/null and b/practice/test/bin/day04/randomdemo.class differ diff --git a/practice/test/bin/day05/arrcheck.class b/practice/test/bin/day05/arrcheck.class new file mode 100644 index 00000000..8454533d Binary files /dev/null and b/practice/test/bin/day05/arrcheck.class differ diff --git a/practice/test/bin/day05/arrtoarr.class b/practice/test/bin/day05/arrtoarr.class new file mode 100644 index 00000000..b305d03d Binary files /dev/null and b/practice/test/bin/day05/arrtoarr.class differ diff --git a/practice/test/bin/day05/getmax.class b/practice/test/bin/day05/getmax.class new file mode 100644 index 00000000..bb3cb2ec Binary files /dev/null and b/practice/test/bin/day05/getmax.class differ diff --git a/practice/test/bin/day05/rabbit.class b/practice/test/bin/day05/rabbit.class new file mode 100644 index 00000000..30d12d80 Binary files /dev/null and b/practice/test/bin/day05/rabbit.class differ diff --git a/practice/test/bin/day05/reload.class b/practice/test/bin/day05/reload.class new file mode 100644 index 00000000..c5c86136 Binary files /dev/null and b/practice/test/bin/day05/reload.class differ diff --git a/practice/test/bin/day05/returndemo.class b/practice/test/bin/day05/returndemo.class new file mode 100644 index 00000000..f1eb53c7 Binary files /dev/null and b/practice/test/bin/day05/returndemo.class differ diff --git a/practice/test/bin/day05/sevenpast.class b/practice/test/bin/day05/sevenpast.class new file mode 100644 index 00000000..0d073432 Binary files /dev/null and b/practice/test/bin/day05/sevenpast.class differ diff --git a/practice/test/bin/day05/workout.class b/practice/test/bin/day05/workout.class new file mode 100644 index 00000000..57a8be10 Binary files /dev/null and b/practice/test/bin/day05/workout.class differ diff --git a/practice/test/bin/day06/Student.class b/practice/test/bin/day06/Student.class new file mode 100644 index 00000000..a136e4b9 Binary files /dev/null and b/practice/test/bin/day06/Student.class differ diff --git a/practice/test/bin/day06/arrupdown.class b/practice/test/bin/day06/arrupdown.class new file mode 100644 index 00000000..e3d3e126 Binary files /dev/null and b/practice/test/bin/day06/arrupdown.class differ diff --git a/practice/test/bin/day06/judge.class b/practice/test/bin/day06/judge.class new file mode 100644 index 00000000..d47e7ca9 Binary files /dev/null and b/practice/test/bin/day06/judge.class differ diff --git a/practice/test/bin/day06/phone.class b/practice/test/bin/day06/phone.class new file mode 100644 index 00000000..7b322be2 Binary files /dev/null and b/practice/test/bin/day06/phone.class differ diff --git a/practice/test/bin/day06/phonedemo.class b/practice/test/bin/day06/phonedemo.class new file mode 100644 index 00000000..bc8f195c Binary files /dev/null and b/practice/test/bin/day06/phonedemo.class differ diff --git a/practice/test/bin/day06/studentdemo.class b/practice/test/bin/day06/studentdemo.class new file mode 100644 index 00000000..7e5f17fd Binary files /dev/null and b/practice/test/bin/day06/studentdemo.class differ diff --git a/practice/test/bin/day07/Student.class b/practice/test/bin/day07/Student.class new file mode 100644 index 00000000..afb6b922 Binary files /dev/null and b/practice/test/bin/day07/Student.class differ diff --git a/practice/test/bin/day07/studentdemo.class b/practice/test/bin/day07/studentdemo.class new file mode 100644 index 00000000..7e32e068 Binary files /dev/null and b/practice/test/bin/day07/studentdemo.class differ diff --git a/practice/test/bin/day08/add.class b/practice/test/bin/day08/add.class new file mode 100644 index 00000000..ecf1c9b4 Binary files /dev/null and b/practice/test/bin/day08/add.class differ diff --git a/practice/test/bin/day08/student01.class b/practice/test/bin/day08/student01.class new file mode 100644 index 00000000..4905002d Binary files /dev/null and b/practice/test/bin/day08/student01.class differ diff --git a/practice/test/bin/day08/student02.class b/practice/test/bin/day08/student02.class new file mode 100644 index 00000000..4d13e73c Binary files /dev/null and b/practice/test/bin/day08/student02.class differ diff --git a/practice/test/bin/day08/traverse_string.class b/practice/test/bin/day08/traverse_string.class new file mode 100644 index 00000000..d407f519 Binary files /dev/null and b/practice/test/bin/day08/traverse_string.class differ diff --git a/practice/test/bin/day09/Human.class b/practice/test/bin/day09/Human.class new file mode 100644 index 00000000..f70b9649 Binary files /dev/null and b/practice/test/bin/day09/Human.class differ diff --git a/practice/test/bin/day09/HumanDemo.class b/practice/test/bin/day09/HumanDemo.class new file mode 100644 index 00000000..1e4dfb10 Binary files /dev/null and b/practice/test/bin/day09/HumanDemo.class differ diff --git a/practice/test/bin/day09/NewPhone.class b/practice/test/bin/day09/NewPhone.class new file mode 100644 index 00000000..a900accc Binary files /dev/null and b/practice/test/bin/day09/NewPhone.class differ diff --git a/practice/test/bin/day09/Phone.class b/practice/test/bin/day09/Phone.class new file mode 100644 index 00000000..095a9cc3 Binary files /dev/null and b/practice/test/bin/day09/Phone.class differ diff --git a/practice/test/bin/day09/PhoneDemo.class b/practice/test/bin/day09/PhoneDemo.class new file mode 100644 index 00000000..89aa4401 Binary files /dev/null and b/practice/test/bin/day09/PhoneDemo.class differ diff --git a/practice/test/bin/day09/Teacher.class b/practice/test/bin/day09/Teacher.class new file mode 100644 index 00000000..73134293 Binary files /dev/null and b/practice/test/bin/day09/Teacher.class differ diff --git a/practice/test/bin/day10/Animal.class b/practice/test/bin/day10/Animal.class new file mode 100644 index 00000000..64d9a9cb Binary files /dev/null and b/practice/test/bin/day10/Animal.class differ diff --git a/practice/test/bin/day10/AnimalDemo.class b/practice/test/bin/day10/AnimalDemo.class new file mode 100644 index 00000000..c14b0684 Binary files /dev/null and b/practice/test/bin/day10/AnimalDemo.class differ diff --git a/practice/test/bin/day10/Cat.class b/practice/test/bin/day10/Cat.class new file mode 100644 index 00000000..9a424d3b Binary files /dev/null and b/practice/test/bin/day10/Cat.class differ diff --git a/practice/test/bin/day10/ComputerTest.class b/practice/test/bin/day10/ComputerTest.class new file mode 100644 index 00000000..ab645466 Binary files /dev/null and b/practice/test/bin/day10/ComputerTest.class differ diff --git a/practice/test/bin/day10/OuterInner/Outer$Inner.class b/practice/test/bin/day10/OuterInner/Outer$Inner.class new file mode 100644 index 00000000..236ee33a Binary files /dev/null and b/practice/test/bin/day10/OuterInner/Outer$Inner.class differ diff --git a/practice/test/bin/day10/OuterInner/Outer.class b/practice/test/bin/day10/OuterInner/Outer.class new file mode 100644 index 00000000..428a90de Binary files /dev/null and b/practice/test/bin/day10/OuterInner/Outer.class differ diff --git a/practice/test/bin/day10/OuterInner/testdemo.class b/practice/test/bin/day10/OuterInner/testdemo.class new file mode 100644 index 00000000..69df9dd3 Binary files /dev/null and b/practice/test/bin/day10/OuterInner/testdemo.class differ diff --git a/practice/test/bin/day10/PlayerAndCoach/BasketballCoach.class b/practice/test/bin/day10/PlayerAndCoach/BasketballCoach.class new file mode 100644 index 00000000..548d6a75 Binary files /dev/null and b/practice/test/bin/day10/PlayerAndCoach/BasketballCoach.class differ diff --git a/practice/test/bin/day10/PlayerAndCoach/BasketballPlayer.class b/practice/test/bin/day10/PlayerAndCoach/BasketballPlayer.class new file mode 100644 index 00000000..52fa3096 Binary files /dev/null and b/practice/test/bin/day10/PlayerAndCoach/BasketballPlayer.class differ diff --git a/practice/test/bin/day10/PlayerAndCoach/Coach.class b/practice/test/bin/day10/PlayerAndCoach/Coach.class new file mode 100644 index 00000000..6fd15f48 Binary files /dev/null and b/practice/test/bin/day10/PlayerAndCoach/Coach.class differ diff --git a/practice/test/bin/day10/PlayerAndCoach/Person.class b/practice/test/bin/day10/PlayerAndCoach/Person.class new file mode 100644 index 00000000..d4204a25 Binary files /dev/null and b/practice/test/bin/day10/PlayerAndCoach/Person.class differ diff --git a/practice/test/bin/day10/PlayerAndCoach/PersonDemo.class b/practice/test/bin/day10/PlayerAndCoach/PersonDemo.class new file mode 100644 index 00000000..eee7d231 Binary files /dev/null and b/practice/test/bin/day10/PlayerAndCoach/PersonDemo.class differ diff --git a/practice/test/bin/day10/PlayerAndCoach/PingPangCoach.class b/practice/test/bin/day10/PlayerAndCoach/PingPangCoach.class new file mode 100644 index 00000000..610c35db Binary files /dev/null and b/practice/test/bin/day10/PlayerAndCoach/PingPangCoach.class differ diff --git a/practice/test/bin/day10/PlayerAndCoach/PingPangPlayer.class b/practice/test/bin/day10/PlayerAndCoach/PingPangPlayer.class new file mode 100644 index 00000000..df796343 Binary files /dev/null and b/practice/test/bin/day10/PlayerAndCoach/PingPangPlayer.class differ diff --git a/practice/test/bin/day10/PlayerAndCoach/Player.class b/practice/test/bin/day10/PlayerAndCoach/Player.class new file mode 100644 index 00000000..934bf6dd Binary files /dev/null and b/practice/test/bin/day10/PlayerAndCoach/Player.class differ diff --git a/practice/test/bin/day10/PlayerAndCoach/SpeakEnglish.class b/practice/test/bin/day10/PlayerAndCoach/SpeakEnglish.class new file mode 100644 index 00000000..13ec0dd0 Binary files /dev/null and b/practice/test/bin/day10/PlayerAndCoach/SpeakEnglish.class differ diff --git a/practice/test/bin/day10/jiekou/Animal.class b/practice/test/bin/day10/jiekou/Animal.class new file mode 100644 index 00000000..0e384d4d Binary files /dev/null and b/practice/test/bin/day10/jiekou/Animal.class differ diff --git a/practice/test/bin/day10/jiekou/AnimalDemo.class b/practice/test/bin/day10/jiekou/AnimalDemo.class new file mode 100644 index 00000000..6c3c1a2a Binary files /dev/null and b/practice/test/bin/day10/jiekou/AnimalDemo.class differ diff --git a/practice/test/bin/day10/jiekou/Cat.class b/practice/test/bin/day10/jiekou/Cat.class new file mode 100644 index 00000000..c88f5a78 Binary files /dev/null and b/practice/test/bin/day10/jiekou/Cat.class differ diff --git a/practice/test/bin/day10/jiekou/Jumping.class b/practice/test/bin/day10/jiekou/Jumping.class new file mode 100644 index 00000000..60fc2d3b Binary files /dev/null and b/practice/test/bin/day10/jiekou/Jumping.class differ diff --git a/practice/test/bin/day10/maopao.class b/practice/test/bin/day10/maopao.class new file mode 100644 index 00000000..8e0aec01 Binary files /dev/null and b/practice/test/bin/day10/maopao.class differ diff --git a/practice/test/bin/day11/Component/ComponentTest.class b/practice/test/bin/day11/Component/ComponentTest.class new file mode 100644 index 00000000..06cc8954 Binary files /dev/null and b/practice/test/bin/day11/Component/ComponentTest.class differ diff --git a/practice/test/bin/day11/Component/PanelTest.class b/practice/test/bin/day11/Component/PanelTest.class new file mode 100644 index 00000000..abc97ee5 Binary files /dev/null and b/practice/test/bin/day11/Component/PanelTest.class differ diff --git a/practice/test/bin/day11/DateDemo.class b/practice/test/bin/day11/DateDemo.class new file mode 100644 index 00000000..58d687e1 Binary files /dev/null and b/practice/test/bin/day11/DateDemo.class differ diff --git a/practice/test/bin/day11/DateUtil.class b/practice/test/bin/day11/DateUtil.class new file mode 100644 index 00000000..f2d4d2a4 Binary files /dev/null and b/practice/test/bin/day11/DateUtil.class differ diff --git a/practice/test/bin/day11/Exception/ExceptionDemo.class b/practice/test/bin/day11/Exception/ExceptionDemo.class new file mode 100644 index 00000000..0f690b71 Binary files /dev/null and b/practice/test/bin/day11/Exception/ExceptionDemo.class differ diff --git a/practice/test/bin/day11/Exception/ScoreException.class b/practice/test/bin/day11/Exception/ScoreException.class new file mode 100644 index 00000000..f97ecb30 Binary files /dev/null and b/practice/test/bin/day11/Exception/ScoreException.class differ diff --git a/practice/test/bin/day11/Exception/Teacher.class b/practice/test/bin/day11/Exception/Teacher.class new file mode 100644 index 00000000..87a22999 Binary files /dev/null and b/practice/test/bin/day11/Exception/Teacher.class differ diff --git a/practice/test/bin/day11/GetFeb.class b/practice/test/bin/day11/GetFeb.class new file mode 100644 index 00000000..5874fdd8 Binary files /dev/null and b/practice/test/bin/day11/GetFeb.class differ diff --git a/practice/test/bin/day11/IntegerTest.class b/practice/test/bin/day11/IntegerTest.class new file mode 100644 index 00000000..eb621663 Binary files /dev/null and b/practice/test/bin/day11/IntegerTest.class differ diff --git a/practice/test/bin/day11/Trycatch.class b/practice/test/bin/day11/Trycatch.class new file mode 100644 index 00000000..0e0189b1 Binary files /dev/null and b/practice/test/bin/day11/Trycatch.class differ diff --git a/practice/test/bin/day12/CetDemo.class b/practice/test/bin/day12/CetDemo.class new file mode 100644 index 00000000..3a9d985b Binary files /dev/null and b/practice/test/bin/day12/CetDemo.class differ diff --git a/practice/test/bin/day12/Student/CollectionDemo.class b/practice/test/bin/day12/Student/CollectionDemo.class new file mode 100644 index 00000000..bccbe0d8 Binary files /dev/null and b/practice/test/bin/day12/Student/CollectionDemo.class differ diff --git a/practice/test/bin/day12/Student/ListDemo.class b/practice/test/bin/day12/Student/ListDemo.class new file mode 100644 index 00000000..d3bbf6dc Binary files /dev/null and b/practice/test/bin/day12/Student/ListDemo.class differ diff --git a/practice/test/bin/day12/Student/Student.class b/practice/test/bin/day12/Student/Student.class new file mode 100644 index 00000000..65792044 Binary files /dev/null and b/practice/test/bin/day12/Student/Student.class differ diff --git a/practice/test/bin/problems/quanpailie.class b/practice/test/bin/problems/quanpailie.class new file mode 100644 index 00000000..69e71a0c Binary files /dev/null and b/practice/test/bin/problems/quanpailie.class differ diff --git a/practice/test/bin/problems/sort.class b/practice/test/bin/problems/sort.class new file mode 100644 index 00000000..498c6e3c Binary files /dev/null and b/practice/test/bin/problems/sort.class differ diff --git a/practice/test/bin/problems/test1.class b/practice/test/bin/problems/test1.class new file mode 100644 index 00000000..5dd9bdcf Binary files /dev/null and b/practice/test/bin/problems/test1.class differ diff --git a/practice/test/bin/problems/workspace.code-workspace b/practice/test/bin/problems/workspace.code-workspace new file mode 100644 index 00000000..f65289df --- /dev/null +++ b/practice/test/bin/problems/workspace.code-workspace @@ -0,0 +1,16 @@ +{ + "folders": [ + { + "path": "..\\.." + } + ], + "settings": { + "java.project.sourcePaths": [ + "src" + ], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] + } +} \ No newline at end of file diff --git a/practice/test/src/App.java b/practice/test/src/App.java new file mode 100644 index 00000000..0a839f9b --- /dev/null +++ b/practice/test/src/App.java @@ -0,0 +1,5 @@ +public class App { + public static void main(String[] args) throws Exception { + System.out.println("Hello, World!"); + } +} diff --git a/practice/test/src/StudentManager/Student.java b/practice/test/src/StudentManager/Student.java new file mode 100644 index 00000000..9299236e --- /dev/null +++ b/practice/test/src/StudentManager/Student.java @@ -0,0 +1,58 @@ +package StudentManager; + +public class Student { + // 学号 + private String sid; + + // 姓名 + private String name; + + // 年龄 + private String age; + + // 地址 + private String address; + + public Student() { + } + + public Student(String sid, String name, String age, String address) { + this.sid = sid; + this.name = name; + this.age = age; + this.address = address; + } + + public String getSid() { + return sid; + } + + public void setSid(String sid) { + this.sid = sid; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getAge() { + return age; + } + + public void setAge(String age) { + this.age = age; + } + + public String getAddress() { + return address; + } + + public void setAddress(String address) { + this.address = address; + } + +} diff --git a/practice/test/src/StudentManager/manager.java b/practice/test/src/StudentManager/manager.java new file mode 100644 index 00000000..6cd58b60 --- /dev/null +++ b/practice/test/src/StudentManager/manager.java @@ -0,0 +1,176 @@ +package StudentManager; + +import java.util.ArrayList; +import java.util.Scanner; + +public class manager { + static Scanner sc = new Scanner(System.in); + + public static void main(String[] args) { + ArrayList array = new ArrayList(); + // Scanner sc = new Scanner(System.in); + while (true) { + PrintTable(); + switch (sc.nextLine()) { + case "1": + AddStudent(array); + break; + case "2": + DeleteStudent(array); + ; + break; + case "3": + ChangeInfo(array); + break; + case "4": + CheckAll(array); + break; + case "5": + System.out.println("Thanks for Using"); + sc.close(); + return; + default: + System.out.println("Please choose the right one"); + break; + } + } + + } + + // 打印表头 + public static void PrintTable() { + System.out.println("------Welcome to the StudentManager System------"); + System.out.println("1 Add Students"); + System.out.println("2 Delete Students"); + System.out.println("3 Change Info"); + System.out.println("4 Check All"); + System.out.println("5 Quit"); + System.out.println("Please input your choice: "); + } + + // 添加学生 + public static void AddStudent(ArrayList array) { + String sid; + + //判断学号是否存在 + while (true) { + System.out.print("Please input id:"); + sid = sc.nextLine(); + if (CheckID(array, sid)) { + System.out.println("ID already exists, please input agian!"); + } else { + break; + } + } + + System.out.print("Please input name:"); + String name = sc.nextLine(); + System.out.print("Please input age:"); + String age = sc.nextLine(); + System.out.print("Please input address:"); + String address = sc.nextLine(); + + // 创建学生对象,把键盘录入的数据赋值给学生对象的成员变量 + Student s = new Student(); + s.setSid(sid); + s.setName(name); + s.setAge(age); + s.setAddress(address); + + // 添加学生到集合里 + array.add(s); + System.out.println("Add Succeed!"); + } + + // 删除学生 + public static void DeleteStudent(ArrayList array) { + System.out.print("Please input student's id:"); + String sid = sc.nextLine(); + + int index = -1; + // 判断学号是否存在 + for (int i = 0; i < array.size(); i++) { + Student s = array.get(i); + if (s.getSid().equals(sid)) { + index = i; + break; + } + } + + if (index == -1) { + System.out.println("ID doesn't exist! PLease input again."); + } else { + array.remove(index); + System.out.println("Delete Succeed!"); + } + } + + // 修改学生信息 + public static void ChangeInfo(ArrayList array) { + System.out.print("PLease input student's ID:"); + String sid = sc.nextLine(); + + int index = -1; + + for (int i = 0; i < array.size(); i++) { + Student student = array.get(i); + if (student.getSid().equals(sid)) { + index = i; + } + } + + if (index == -1) { + System.out.println("ID doesn't exist! Please input agian."); + return; + } + + System.out.print("Please input name:"); + String name = sc.nextLine(); + System.out.print("Please input age:"); + String age = sc.nextLine(); + System.out.print("Please input address:"); + String addr = sc.nextLine(); + + Student s = new Student(); + s.setSid(sid); + s.setName(name); + s.setAge(age); + s.setAddress(addr); + + for (int i = 0; i < array.size(); i++) { + Student change = array.get(i); + if (change.getSid().equals(sid)) { + array.set(i, s); + break; + } + } + System.out.println("Change succeed!"); + } + + // 查看学生 + public static void CheckAll(ArrayList array) { + if (array.size() == 0) { + System.out.println("No data, please input students' info!"); + return; + } + + // 表头信息 + System.out.println("id\t\tname\tage\taddress"); + for (int i = 0; i < array.size(); i++) { + Student s = array.get(i); + System.out.println(s.getSid() + "\t\t" + s.getName() + "\t" + s.getAge() + "岁\t" + s.getAddress()); + } + } + + // 查看学号是否相同 + public static boolean CheckID(ArrayList array, String ID) { + for (int i = 0; i < array.size(); i++) { + Student s = array.get(i); + if (s.getSid().equals(ID)) { + return true; + } + } + return false; + } + +} \ No newline at end of file diff --git a/practice/test/src/day01.java b/practice/test/src/day01.java new file mode 100644 index 00000000..b9a6bff2 --- /dev/null +++ b/practice/test/src/day01.java @@ -0,0 +1,29 @@ +public class day01 { + public static void main(String[] args) throws Exception { + System.out.println("Hello, World!"); + System.out.print('我'); + int a = 132; + System.out.println(a); + a = 2341; + System.out.println(a); + System.out.println("----------"); + //强制类型转换(不建议) + int m = (int)123.4223; + System.out.println(m); + /* + 类型转换: + byte -> short -> int -> long -> float -> double + char + */ + System.out.println("----------"); + int b = 3500; + int c = 256; + System.out.println(b + c); + System.out.println(b - c); + System.out.println(b * c); + System.out.println(b / c); + //除法要得到小数必须有小数的参与 + System.out.println(b / 256.0); + System.out.println(b % c); + } +} \ No newline at end of file diff --git a/practice/test/src/day02.java b/practice/test/src/day02.java new file mode 100644 index 00000000..87f4d1ce --- /dev/null +++ b/practice/test/src/day02.java @@ -0,0 +1,55 @@ +public class day02 { + /* + 字符的加减: + 整个表达式的类型自动提升到表达式中最高等级操作数同样的类型等级顺序: byte,short,char → int → long → float → double + */ + public static void main(String[] args){ + int i = 126; + char c = 'a'; + System.out.println(c); + System.out.println(i + c); + char d = (char)i; + System.out.println(d); + System.out.println("-------"); + System.out.println(1 + 99 + "kingdom"); + System.out.println("kingdom" + 34 + 66); + // for(int a=32; a<=126; a++){ + // int m = a % 10; + // if (m == 2) { + // System.out.println("--------"); + // } + // char q = (char)a; + // System.out.println(q); + // } + i = 0; + i += 10; + //+= *= -= /= %=均有强制转换的作用 + /* + ++和--既可以放在变量的后边,也可以放在变量的前边。 + 单独使用的时候,++和--无论是放在变量的前边还是后边,结果是一样的。 + 参与操作的时候,如果放在变量的后边,先拿变量参与操作,后拿变量做++或者--。参与操作的时候,如果放在变量的前边,先拿变量做++或者--,后拿变量参与操作。 + */ + i++; + System.out.println("i:" + i); + i = 0; + ++i; + System.out.println("i:" + i); + i = 0; + int j = i++; + System.out.println("i:" + i); + System.out.println("j:" + j); + i = 0; + j = ++i; + System.out.println("i:" + i); + System.out.println("j:" + j); + /* + & 逻辑与:a&b,a和b都是true,结果为true,否则为false + | 逻辑或:a|b,a和b都是false,结果为false,否则为true + ^ 逻辑异或:a^b,a和b结果不同为true,相同为false + ! 逻辑非:!a,结果和a的结果正好相反 + + && 短路与,如果左边为真,右边执行;如果左边为假,右边不执行。 + || 短路或:如果左边为假,右边执行;如果左边为真,右边不执行。 + */ + } +} diff --git a/practice/test/src/day03/and.java b/practice/test/src/day03/and.java new file mode 100644 index 00000000..7b83b1d7 --- /dev/null +++ b/practice/test/src/day03/and.java @@ -0,0 +1,44 @@ +package day03; +public class and { + public static void main(String[] args) { + int sum = 0; + for (int i = 1; i <= 5; i++) { + sum += i; + } + System.out.println("1-5和为" + sum); + sum = 0; + for (int i = 1; i <= 100; i++) { + if (i%2 == 0) { + sum += i; + } + } + System.out.println("1-100间偶数和为" + sum); + + int count = 0; + for (int i = 100; i <= 999; i++) { + int ge = i%10; + int shi = (i%100)/10; + int bai = i/100; + // System.out.println(ge); + // System.out.println(shi); + // System.out.println(bai); + Double a = Math.pow(ge, 3); + Double b = Math.pow(shi, 3); + Double c = Math.pow(bai, 3); + if (i == a + b + c) { + System.out.println(i); + count += 1; + } + } + System.out.println("水仙花数总共有" + count + "个"); + + double paper = 0.0001; + double zf = 8848.86; + int count1 = 0; + while (paper <= zf) { + paper *= 2; + count1 += 1; + } + System.out.println("需要折叠" + count1 + "次"); + } +} diff --git a/practice/test/src/day03/day03.java b/practice/test/src/day03/day03.java new file mode 100644 index 00000000..d09a1918 --- /dev/null +++ b/practice/test/src/day03/day03.java @@ -0,0 +1,73 @@ +package day03; +import java.util.Scanner; +public class day03 { + public static void main(String[] args){ + //三元运算符 + int a = 1; + int b = 2; + int max = a > b ? a:b; + System.out.println("max:" + max); + //两只老虎: + //需求:动物园里有两只老虎,已知两只老虎的体重分别为180kg、200kg ,请用程序实现判断两只老虎的体重是否相同。 + System.out.println("----------"); + System.out.println("两只老虎"); + int tiger1 = 180; + int tiger2 = 200; + System.out.println((tiger1 == tiger2) ? "体重相同" : "体重不同"); + //三个和尚: + //需求:一座寺庙里住着三个和尚,已知他们的身高分别为150cm.210cm、165cm,请用程序实现获取这三个和尚的最高身高。 + System.out.println("----------"); + System.out.println("三个和尚1"); + int high1 = 150; + int high2 = 165; + int high3 = 210; + int c = high1 > high2 ? high1 : high2; + int d = c > high3 ? c : high3; + System.out.println("三个和尚的最高身高为:" + d + "cm"); + /* + 导包 : import java.util.Scanner; 导包的动作必须出现在类定义的上边 + 创建对象 : Scanner sc = new Scanner(System.in); 上面这个格式里面,只有sc是变量名,可以变,其他的都不允许变。 + 接收数据 : int a = sc.nextInt(); 上面这个格式里面,只有i是变量名,可以变,其他的都不允许变。 + */ + //数据输入:创建对象 + System.out.println("----------"); + System.out.println("三个和尚2"); + Scanner sc = new Scanner(System.in); + //接受数据 + int height1 = sc.nextInt(); + int height2 = sc.nextInt(); + int height3 = sc.nextInt(); + int tempheight = height1 > height2 ? height1 : height2; + int maxheight = tempheight > height3 ? tempheight : height3; + System.out.println("三个和尚的身高分别为:"); + System.out.println(height1 + "cm"); + System.out.println(height2 + "cm"); + System.out.println(height3 + "cm"); + System.out.println("其中身高最高的为:" + maxheight + "cm"); + sc.close(); + + System.out.println("----------"); + System.out.println("gh是否相等"); + Scanner test = new Scanner(System.in); + int g = test.nextInt(); + int h = test.nextInt(); + if (g == h) { + System.out.println("g和h相等,都为:" + g); + } else { + System.out.println("g和h不相等"); + } + //需求:任意给出一个整数,请用程序实现判断该整数是奇数还是偶数,并在控制台输出该整数是奇数还是偶数。 + System.out.println("----------"); + System.out.println("判断是否为奇数"); + int i = test.nextInt(); + int j = i % 2; + String result = j == 0 ? "偶数" : "奇数"; + System.out.println(i + "是" + result); + if (j == 0) { + System.out.println(i + "是偶数"); + } else { + System.out.println(i + "是奇数"); + } + test.close(); + } +} \ No newline at end of file diff --git a/practice/test/src/day03/reward.class b/practice/test/src/day03/reward.class new file mode 100644 index 00000000..1a39e1b8 Binary files /dev/null and b/practice/test/src/day03/reward.class differ diff --git a/practice/test/src/day03/reward.java b/practice/test/src/day03/reward.java new file mode 100644 index 00000000..55a144b2 --- /dev/null +++ b/practice/test/src/day03/reward.java @@ -0,0 +1,49 @@ +package day03; +import java.util.Scanner; +public class reward { + public static void main(String[] args) { + Scanner range = new Scanner(System.in); + System.out.print("输入卷面满分:"); + String num; + if (!range.hasNextInt() && range.hasNextDouble()) { + System.out.println("tnnd谁设计的卷面满分是小数的??!!!给老子去SPA!!!!"); + } else if (range.hasNextDouble()) { + num = range.next(); + double total = Double.parseDouble(num); + if (total < 0) { + System.out.println("cnmd输错啦!!!!!!!!"); + range.close(); + return; + } + System.out.print("输入你的得分:"); + Scanner sc = new Scanner(System.in); + String num2; + if (sc.hasNextDouble()) { + num2 = sc.next(); + double scole = Double.parseDouble(num2); + if (scole >= total*0.9 && scole <= total) { + System.out.println("奖励100元"); + } else if (scole >= total*0.8 && scole < total*0.9) { + System.out.println("奖励90元"); + } else if (scole >= total*0.7 && scole < total*0.8) { + System.out.println("奖励50元"); + } else if (scole >= total*0.6 && scole < total*0.7) { + System.out.println("奖励一个大嘴巴子"); + } else if (scole < total*0.6 && scole >= 0){ + int k = (int)(total - scole); + System.out.println("奖励" + k + "个大嘴巴子"); + } else if (scole > total){ + System.out.println("你个小子是不是改分了??满分是多少都不知道???欠揍是吧"); + } else { + System.out.println("少的分被你吃了??你个饭桶"); + } + sc.close(); + } else { + System.out.println("cnmd输错啦!!!!"); + } + } else { + System.out.println("你他奶奶滴输错啦!!!你家卷子满分是符号和字母???"); + } + range.close(); + } +} diff --git a/practice/test/src/day03/season.java b/practice/test/src/day03/season.java new file mode 100644 index 00000000..505afbac --- /dev/null +++ b/practice/test/src/day03/season.java @@ -0,0 +1,27 @@ +package day03; +import java.util.Scanner; +public class season { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + System.out.println("请输入月份:"); + int season = sc.nextInt(); + switch (season) { + case 3: case 4: case 5: + System.out.println(season + "月是春季"); + break; + case 6: case 7: case 8: + System.out.println(season + "月是夏季"); + break; + case 9: case 10: case 11: + System.out.println(season + "月是秋季"); + break; + case 12: case 1: case 2: + System.out.println(season + "月是冬季"); + break; + default: + System.out.println("你输入的月份有误"); + break; + } + sc.close(); + } +} diff --git a/practice/test/src/day03/week.java b/practice/test/src/day03/week.java new file mode 100644 index 00000000..4e295d23 --- /dev/null +++ b/practice/test/src/day03/week.java @@ -0,0 +1,36 @@ +package day03; +import java.util.Scanner; +public class week { + public static void main(String[] args) { + Scanner week = new Scanner(System.in); + System.out.println("请输入一个星期数(1-7):"); + int weeknumber = week.nextInt(); + switch (weeknumber) { + case 1: + System.out.println("星期一"); + break; + case 2: + System.out.println("星期二"); + break; + case 3: + System.out.println("星期三"); + break; + case 4: + System.out.println("星期四"); + break; + case 5: + System.out.println("星期五"); + break; + case 6: + System.out.println("星期六"); + break; + case 7: + System.out.println("星期天"); + break; + default: + System.out.println("星期数有误"); + break; + } + week.close(); + } +} diff --git a/practice/test/src/day04/arrdemo.java b/practice/test/src/day04/arrdemo.java new file mode 100644 index 00000000..32120608 --- /dev/null +++ b/practice/test/src/day04/arrdemo.java @@ -0,0 +1,49 @@ +package day04; + +public class arrdemo { + public static void main(String[] args) { + int[] arr = new int[4]; + System.out.println(arr); + System.out.println(arr[0]); + System.out.println(arr[1]); + System.out.println(arr[2]); + System.out.println(arr[3]); + arr[0] = 100; + arr[2] = 200; + arr[3] = 300; + arr[1] = 400; + System.out.println(arr); + System.out.println(arr[0]); + System.out.println(arr[1]); + System.out.println(arr[2]); + System.out.println(arr[3]); + int[] arr2 = arr; + System.out.println(arr2); + System.out.println(arr2[0]); + System.out.println(arr2[1]); + System.out.println(arr2[2]); + System.out.println(arr2[3]); + int[] arr3 = new int[]{1, 2, 3}; + int[] arr4 = {2,3,4}; + System.out.println(arr3[0] + arr3[1]); + System.out.println(arr4[0] + arr4[1]); + for (int i = 0; i < arr4.length; i++) { + System.out.println(arr4[i]); + } + int[] arr5 = {152, 122, 153, 466, 452, 495, 486}; + int max = arr5[0]; + for (int i = 1; i < arr5.length; i++) { + if (arr5[i] > max) { + max = arr5[i]; + } + } + System.out.println(max); + int min = arr5[0]; + for (int i = 1; i < arr5.length; i++) { + if (arr5[i] < min) { + min = arr5[i]; + } + } + System.out.println(min); + } +} diff --git a/practice/test/src/day04/continue1.java b/practice/test/src/day04/continue1.java new file mode 100644 index 00000000..9cb18ea5 --- /dev/null +++ b/practice/test/src/day04/continue1.java @@ -0,0 +1,14 @@ +package day04; + +public class continue1 { + public static void main(String[] args) { + int a = 3; + for (int i = 1; i <= 13; i++) { + if (i%2 == 1) { + System.out.println(a); + continue; + } + System.out.println("----"); + } + } +} diff --git a/practice/test/src/day04/getmax.java b/practice/test/src/day04/getmax.java new file mode 100644 index 00000000..82e0e6c8 --- /dev/null +++ b/practice/test/src/day04/getmax.java @@ -0,0 +1,17 @@ +package day04; +import java.util.Scanner; +public class getmax { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + System.out.print("请输入第一个数:"); + int a = sc.nextInt(); + System.out.print("请输入第二个数:"); + int b = sc.nextInt(); + getmax0(a, b); + sc.close(); + } + public static void getmax0(int a, int b) { + int c = a > b ? a : b; + System.out.println("最大的数是:" + c); + } +} diff --git a/practice/test/src/day04/randomdemo.java b/practice/test/src/day04/randomdemo.java new file mode 100644 index 00000000..1900b58e --- /dev/null +++ b/practice/test/src/day04/randomdemo.java @@ -0,0 +1,11 @@ +package day04; +import java.util.Random; +public class randomdemo { + public static void main(String[] args) { + Random j = new Random(); + int i = j.nextInt(10); + System.out.println(i); + double a = j.nextDouble(13); + System.out.println(a); + } +} diff --git a/practice/test/src/day05/arrcheck.java b/practice/test/src/day05/arrcheck.java new file mode 100644 index 00000000..f75c6069 --- /dev/null +++ b/practice/test/src/day05/arrcheck.java @@ -0,0 +1,33 @@ +package day05; +//已知一个数组arr = {19,28,37,46,50};键盘录入一个数据,查找该数据在数组中的索引,并在控制台输出找到的索引值。 + +import java.util.Scanner; + +public class arrcheck { + public static void main(String[] args) { + int[] arr = {12, 54, 65, 23, 99, 99}; + Scanner sc = new Scanner(System.in); + System.out.print("请输入要查找的数据:"); + int number = sc.nextInt(); + int i = check(number, arr); + if (i == -1) { + System.out.println("数组内没有此数据"); + } else { + System.out.print(number + "在数组arr内的索引值为:" + i); + for (int j = i+1; j < arr.length; j++) { + if (number == arr[j]) { + System.out.print(", " + j); + } + } + } + sc.close(); + } + public static int check(int number, int[] arr) { + for (int i = 0; i < arr.length; i++) { + if (number == arr[i]) { + return i; + } + } + return -1; + } +} diff --git a/practice/test/src/day05/arrtoarr.java b/practice/test/src/day05/arrtoarr.java new file mode 100644 index 00000000..0adc85ae --- /dev/null +++ b/practice/test/src/day05/arrtoarr.java @@ -0,0 +1,26 @@ +package day05; +//需求:设计一个方法,用于比较两个数组的内容是否相同 + +import java.util.Arrays; + +public class arrtoarr { + public static void main(String[] args) { + double[] arr1 = {1,22,33,4,5}; + double[] arr2 = {11,22,33,4,5}; + boolean flag = arrs(arr1, arr2); + System.out.println(flag); + } + public static boolean arrs(double[] arr1, double[] arr2) { + if (arr1.length != arr2.length) { + return false; + } + Arrays.sort(arr1); + Arrays.sort(arr2); + for (int i = 0; i < arr2.length; i++) { + if (arr1[i] != arr2[i]) { + return false; + } + } + return true; + } +} \ No newline at end of file diff --git a/practice/test/src/day05/getmax.java b/practice/test/src/day05/getmax.java new file mode 100644 index 00000000..cba9b5ec --- /dev/null +++ b/practice/test/src/day05/getmax.java @@ -0,0 +1,21 @@ +package day05; +import java.util.Scanner; +// 方法不能嵌套定义 +// void表示无返回值,可以省略return,也可以单独的书写return,后面不加数据 + +public class getmax { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + System.out.print("请输入第一个数:"); + double a = sc.nextDouble(); + System.out.print("请输入第二个数:"); + double b = sc.nextDouble(); + //double c = getmax0(a, b); + System.out.println(a + "和" + b + "中最大的数是:" + getmax0(a, b)); + sc.close(); + } + public static double getmax0(double a, double b) { + double c = a > b ? a : b; + return c; + } +} diff --git a/practice/test/src/day05/rabbit.java b/practice/test/src/day05/rabbit.java new file mode 100644 index 00000000..2578096c --- /dev/null +++ b/practice/test/src/day05/rabbit.java @@ -0,0 +1,13 @@ +package day05; + +public class rabbit { + public static void main(String[] args) { + int[] rabbitnumber = new int[20]; + rabbitnumber[0] = 1; + rabbitnumber[1] = 1; + for (int i = 1; i < 19; i++) { + rabbitnumber[i+1] = rabbitnumber[i] + rabbitnumber[i-1]; + } + System.out.println(rabbitnumber[19]); + } +} diff --git a/practice/test/src/day05/reload.java b/practice/test/src/day05/reload.java new file mode 100644 index 00000000..ef286ef4 --- /dev/null +++ b/practice/test/src/day05/reload.java @@ -0,0 +1,36 @@ +package day05; +/* +方法重载: +多个方法在同一个类中 +多个方法具有相同的方法名 +多个方法的参数不相同,类型不同或者数量不同 +*/ +public class reload { + public static void main(String[] args) { + double[] arr = {10, 12.2, 3.6, 9.5, 4.6}; + double sum = sum(arr); + System.out.println(sum); + System.out.println(arr); + for (int i = 0; i < arr.length; i++) { + System.out.print("/" + arr[i]); + } + change(arr); + System.out.println(arr); + for (int i = 0; i < arr.length; i++) { + System.out.print("/" + arr[i]); + } + } + public static double sum(double[] arr) { + double sum = 0; + for (int i = 0; i < arr.length; i++) { + sum += arr[i]; + } + return sum; + } + public static void change(double[] arr) { + double[] arr2 = {10, 45.3, 65.3, 9.2}; + arr[2] = arr2[0]; + arr[1] = arr2[0]; + return; + } +} diff --git a/practice/test/src/day05/returndemo.java b/practice/test/src/day05/returndemo.java new file mode 100644 index 00000000..87a25274 --- /dev/null +++ b/practice/test/src/day05/returndemo.java @@ -0,0 +1,24 @@ +package day05; +import java.util.Scanner; +public class returndemo { + public static void main(String[] args) { + System.out.print("请输入一个整数:"); + Scanner sc = new Scanner(System.in); + int number = sc.nextInt(); + boolean flag = getevennumber(number); + System.out.println(flag); + if (flag) { + System.out.println("您输入的整数" + number + "是一个偶数"); + } else { + System.out.println("您输入的整数" + number + "是一个奇数"); + } + sc.close(); + } + public static boolean getevennumber(int a) { + if (a%2 == 0) { + return true; + } else { + return false; + } + } +} diff --git a/practice/test/src/day05/sevenpast.java b/practice/test/src/day05/sevenpast.java new file mode 100644 index 00000000..c1f58996 --- /dev/null +++ b/practice/test/src/day05/sevenpast.java @@ -0,0 +1,33 @@ +package day05; +/*需求︰朋友聚会的时候可能会玩一个游戏:逢七过。规则是:从任意一个数字开始报数, +当你要报的数字包含7或者是7的倍数时都要说:过。为了帮助大家更好的玩这个游戏,这 +里我们直接在控制台打印出1-100之间的满足逢七必过规则的数据。这样,大家将来在玩 +游戏的时候,就知道哪些数据要说:过。 +*/ +public class sevenpast { + public static void main(String[] args) { + int n = 0; + for (int i = 1; i < 101; i++) { + if (i%7 == 0 || i%10 == 7 || i/10%10 == 7) { + n++; + } + } + int[] arr = new int[n]; + n = 0; + for (int i = 1; i < 101; i++) { + if (i%7 == 0 || i%10 == 7 || i/10%10 == 7) { + arr[n] = i; + n++; + } + } + for (int i = 0; i < arr.length; i++) { + if (i == arr.length - 1) { + System.out.print(arr[i] + "]"); + } else if (i == 0) { + System.out.print("[" + arr[i] + ", "); + } else { + System.out.print(arr[i] + ", "); + } + } + } +} diff --git a/practice/test/src/day05/workout.java b/practice/test/src/day05/workout.java new file mode 100644 index 00000000..94375cb7 --- /dev/null +++ b/practice/test/src/day05/workout.java @@ -0,0 +1,42 @@ +package day05; + +import java.util.Scanner; + +public class workout { + public static void main(String[] args) { + System.out.print("输入星期数:"); + Scanner sc = new Scanner(System.in); + int week = sc.nextInt(); + activity(week); + sc.close(); + } + + public static void activity(int week) { + switch (week) { + case 1: + System.out.println("跑步"); + break; + case 2: + System.out.println("游泳"); + break; + case 3: + System.out.println("慢走"); + break; + case 4: + System.out.println("动感单车"); + break; + case 5: + System.out.println("拳击"); + break; + case 6: + System.out.println("爬山"); + break; + case 7: + System.out.println("吃好的"); + break; + default: + System.out.println("输入有误"); + break; + } + } +} diff --git a/practice/test/src/day06/Student.java b/practice/test/src/day06/Student.java new file mode 100644 index 00000000..91bde875 --- /dev/null +++ b/practice/test/src/day06/Student.java @@ -0,0 +1,29 @@ +package day06; + +public class Student { + String name; + int age; + public void setAge(int a) { + if (a < 0 || a > 120) { + System.out.println("数据有误"); + } else { + age = a; + } + } + + public int getAge() { + return age; + } + + public void show() { + System.out.println(name + ", " + age); + } + + public void study() { + System.out.println("好好学习"); + } + + public void doHomework() { + System.out.println("作用青山不付出"); + } +} diff --git a/practice/test/src/day06/arrupdown.java b/practice/test/src/day06/arrupdown.java new file mode 100644 index 00000000..52ed9fc4 --- /dev/null +++ b/practice/test/src/day06/arrupdown.java @@ -0,0 +1,18 @@ +package day06; +//已知一个数组arr = {19,28,37,46,50};用程序实现把数组中的元素值交换, +//交换后的数组arr = {50,46,37,28,19};并在控制台输出交换后的数组元素。 + +public class arrupdown { + public static void main(String[] args) { + int[] arr = {11, 22, 33, 55, 22, 99}; + int temp = 0; + for (int i = 0; i < arr.length/2; i++) { + temp = arr[i]; + arr[i] = arr[arr.length - 1 - i]; + arr[arr.length - 1 - i] = temp; + } + for (int i = 0; i < arr.length; i++) { + System.out.print(arr[i] + " "); + } + } +} diff --git a/practice/test/src/day06/judge.java b/practice/test/src/day06/judge.java new file mode 100644 index 00000000..7435bc9f --- /dev/null +++ b/practice/test/src/day06/judge.java @@ -0,0 +1,44 @@ +package day06; + +//在编程竞赛中,有6个评委为参赛的选手打分。分数为0-100的整数分。 +//选手的最后得分为:去掉一个最高分和一个最低分后的4个评委平均值(不考虑小数部分)。 + +import java.util.Arrays; +import java.util.Scanner; + +public class judge { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + double[] scole = new double[6]; + int j = 0; + for (int i = 0; i < scole.length; i++) { + j = i + 1; + System.out.print("请输入第" + j + "位评委的打分:"); + scole[i] = sc.nextInt(); + Boolean flag = row(scole[i]); + if (!(flag)) { + System.out.println("输入数据有误,请重新输入"); + break; + } + } + boolean flag = row(scole[j-1]); + if (flag) { + sc.close(); + Arrays.sort(scole); + int total = 0; + for (int i = 1; i < scole.length - 1; i++) { + total += scole[i]; + } + int totalscole = (int)(total/4); + System.out.print("选手最后得分为:" + totalscole); + } else { + + } + } + public static boolean row(double scole) { + if (scole > 0 && scole < 100) { + return true; + } + return false; + } +} diff --git a/practice/test/src/day06/phone.java b/practice/test/src/day06/phone.java new file mode 100644 index 00000000..8da1882e --- /dev/null +++ b/practice/test/src/day06/phone.java @@ -0,0 +1,14 @@ +package day06; +//定义成员变量和成员方法: +public class phone { + String name; + int price; + + public void call() { + System.out.println("打电话"); + } + + public void sendmassage() { + System.out.println("发短信"); + } +} diff --git a/practice/test/src/day06/phonedemo.java b/practice/test/src/day06/phonedemo.java new file mode 100644 index 00000000..4b9bbb75 --- /dev/null +++ b/practice/test/src/day06/phonedemo.java @@ -0,0 +1,18 @@ +package day06; + +import java.util.Scanner; + +public class phonedemo { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + phone p = new phone(); + p.name = "xiaomi"; + System.out.print("请输入价格:"); + p.price = sc.nextInt(); + System.out.println("品牌为:" + p.name); + System.out.println("价格为:" + p.price + "元"); + p.call(); + p.sendmassage(); + sc.close(); + } +} diff --git a/practice/test/src/day06/studentdemo.java b/practice/test/src/day06/studentdemo.java new file mode 100644 index 00000000..b0c6fbf6 --- /dev/null +++ b/practice/test/src/day06/studentdemo.java @@ -0,0 +1,15 @@ +package day06; + +public class studentdemo { + public static void main(String[] args) { + Student s = new Student(); + s.setAge(30); + s.name = "daqing"; + s.show(); + s.study(); + s.doHomework(); + System.out.println(s.getAge() + "-----" + s.name); + // System.out.println(s.age); + // System.out.println(s.name); + } +} diff --git a/practice/test/src/day07/Student.java b/practice/test/src/day07/Student.java new file mode 100644 index 00000000..2c26cd67 --- /dev/null +++ b/practice/test/src/day07/Student.java @@ -0,0 +1,42 @@ +package day07; + +public class Student { + private String name; + private int age; + + public Student() { + } + + public Student(String name, int age) { + this.name = name; + if (age < 120 && age > 0) { + this.age = age; + } else { + System.out.println("输入的年龄有误"); + } + } + + public void setName(String name) { + this.name = name; + } + + public String getName() { + return name; + } + + public void setAge(int age) { + if (age < 120 && age > 0) { + this.age = age; + } else { + System.out.println("输入的年龄有误"); + } + } + + public int getAge() { + return age; + } + + public void show() { + System.out.println(name + "," + age); + } +} diff --git a/practice/test/src/day07/studentdemo.java b/practice/test/src/day07/studentdemo.java new file mode 100644 index 00000000..501a9968 --- /dev/null +++ b/practice/test/src/day07/studentdemo.java @@ -0,0 +1,13 @@ +package day07; + +public class studentdemo { + public static void main(String[] args) { + Student s1 = new Student(); + s1.setName("linqing"); + s1.setAge(10); + s1.show(); + + Student s2 = new Student("lingqing", 29); + s2.show(); + } +} diff --git a/practice/test/src/day08/add.java b/practice/test/src/day08/add.java new file mode 100644 index 00000000..8e59fa48 --- /dev/null +++ b/practice/test/src/day08/add.java @@ -0,0 +1,74 @@ +package day08; + +import java.util.Scanner; + +public class add { + public static void main(String[] args) { + // 转换格式 + int[] arr = { 1, 2, 3, 4, 5, 6, 7 }; + String S = arrtostring(arr); + System.out.println(S); + StringBuilder S1 = arrtoSbuilder(arr); + System.out.println(S1); + // 反转字符串 + Scanner sc = new Scanner(System.in); + System.out.println("please input String:"); + String line = sc.nextLine(); + sc.close(); + String enil = reverse(line); + String enil_upgrade = reverse_upgrade(line); + System.out.println(enil_upgrade); + System.out.println(enil); + // stingbuilder 使用 + StringBuilder sss = new StringBuilder(); + sss.append("sb").append("sad").reverse(); + System.out.println(sss); + + String sb1 = sss.toString(); + StringBuilder sb2 = new StringBuilder(sb1); + System.out.println(sb1 + sb2); + } + + public static String arrtostring(int[] arr) { + String S = ""; + S += "["; + for (int i = 0; i < arr.length; i++) { + if (i == arr.length - 1) { + S += arr[i]; + S += "]"; + } else { + S += arr[i]; + S += ", "; + } + } + return S; + } + + public static StringBuilder arrtoSbuilder(int[] arr) { + StringBuilder S = new StringBuilder(); + S.append("["); + for (int i = 0; i < arr.length; i++) { + if (i == arr.length - 1) { + S.append(arr[i]).append("]"); + } else { + S.append(arr[i]).append(", "); + } + } + return S; + } + + public static String reverse(String s) { + String ss = ""; + for (int i = s.length() - 1; i >= 0; i--) { + ss += s.charAt(i); + } + return ss; + } + + public static String reverse_upgrade(String s) { + StringBuilder ss = new StringBuilder(s); + String result = ss.reverse().toString(); + return result; + //return new Stringbuilder(s).reverse().toString(); + } +} diff --git a/practice/test/src/day08/student01.java b/practice/test/src/day08/student01.java new file mode 100644 index 00000000..ff5f21a6 --- /dev/null +++ b/practice/test/src/day08/student01.java @@ -0,0 +1,31 @@ +package day08; + +public class student01 { + private String name; + private String age; + + public student01() {} + + public student01(String name, String age) { + this.name = name; + this.age = age; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getAge() { + return age; + } + + public void setAge(String age) { + this.age = age; + } + + +} diff --git a/practice/test/src/day08/student02.java b/practice/test/src/day08/student02.java new file mode 100644 index 00000000..57518a82 --- /dev/null +++ b/practice/test/src/day08/student02.java @@ -0,0 +1,41 @@ +package day08; + +import java.util.ArrayList; +import java.util.Scanner; + +public class student02 { + static Scanner sc = new Scanner(System.in); + public static void main(String[] args) { + ArrayList arr = new ArrayList<>(); + // student01 s1 = new student01("tiger", "21"); + // student01 s2 = new student01("monkey", "22"); + // student01 s3 = new student01("cat", "22"); + + // arr.add(s1); + // arr.add(s2); + // arr.add(s3); + addstudent(arr); + addstudent(arr); + + for (int i = 0; i < arr.size(); i++) { + student01 s = arr.get(i); + System.out.println(s.getName() + ", " + s.getAge()); + } + } + + public static void addstudent(ArrayList arr) { + student01 s = new student01(); + //Scanner sc = new Scanner(System.in); + + System.out.print("please input student's name:"); + String name = sc.nextLine(); + + System.out.print("Please input student's age:"); + String age = sc.nextLine(); + + s.setName(name); + s.setAge(age); + + arr.add(s); + } +} \ No newline at end of file diff --git a/practice/test/src/day08/traverse_string.java b/practice/test/src/day08/traverse_string.java new file mode 100644 index 00000000..f1309357 --- /dev/null +++ b/practice/test/src/day08/traverse_string.java @@ -0,0 +1,28 @@ +package day08; + +import java.util.Scanner; + +public class traverse_string { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + System.out.println("please input Strings:"); + String line = sc.nextLine(); + sc.close(); + int A = 0; + int a = 0; + int num = 0; + for (int i = 0; i < line.length(); i++) { + if (line.charAt(i) > 'A' && line.charAt(i) < 'Z') { + A++; + } else if (line.charAt(i) > 'a' && line.charAt(i) < 'z') { + a++; + } else if (line.charAt(i) > '0' && line.charAt(i) < '9') { + num++; + } + } + System.out.println("capital letters:" + A); + System.out.println("lowercase letters:" + a); + System.out.println("numbers:" + num); + } + +} \ No newline at end of file diff --git a/practice/test/src/day09/Human.java b/practice/test/src/day09/Human.java new file mode 100644 index 00000000..a87af3b5 --- /dev/null +++ b/practice/test/src/day09/Human.java @@ -0,0 +1,30 @@ +package day09; + +public class Human { + private String name; + private String age; + + public Human() { + } + + public Human(String name, String age) { + this.name = name; + this.age = age; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getAge() { + return age; + } + + public void setAge(String age) { + this.age = age; + } +} diff --git a/practice/test/src/day09/HumanDemo.java b/practice/test/src/day09/HumanDemo.java new file mode 100644 index 00000000..32e908dd --- /dev/null +++ b/practice/test/src/day09/HumanDemo.java @@ -0,0 +1,15 @@ +package day09; + +public class HumanDemo { + public static void main(String[] args) { + Teacher t1 = new Teacher(); + t1.setName("lqx"); + t1.setAge("15"); + System.out.println(t1.getName() + ", " + t1.getAge()); + t1.teach(); + System.out.println("---------"); + Teacher t2 = new Teacher("lsp", "24"); + System.out.println(t2.getName() + ", " + t2.getAge()); + t2.teach(); + } +} diff --git a/practice/test/src/day09/NewPhone.java b/practice/test/src/day09/NewPhone.java new file mode 100644 index 00000000..08c6963f --- /dev/null +++ b/practice/test/src/day09/NewPhone.java @@ -0,0 +1,9 @@ +package day09; + +public class NewPhone extends Phone { + @Override + public void call(String name) { + System.out.println("OPen the portal"); + super.call(name); + } +} diff --git a/practice/test/src/day09/Phone.java b/practice/test/src/day09/Phone.java new file mode 100644 index 00000000..69a9ce36 --- /dev/null +++ b/practice/test/src/day09/Phone.java @@ -0,0 +1,7 @@ +package day09; + +public class Phone { + public void call (String name) { + System.out.println("call " + name); + } +} diff --git a/practice/test/src/day09/PhoneDemo.java b/practice/test/src/day09/PhoneDemo.java new file mode 100644 index 00000000..bd27e09d --- /dev/null +++ b/practice/test/src/day09/PhoneDemo.java @@ -0,0 +1,12 @@ +package day09; + +public class PhoneDemo { + public static void main(String[] args) { + Phone p = new Phone(); + String name = "zyc"; + p.call(name); + System.out.println("------------"); + NewPhone pp = new NewPhone(); + pp.call(name); + } +} diff --git a/practice/test/src/day09/Teacher.java b/practice/test/src/day09/Teacher.java new file mode 100644 index 00000000..ad0e02e3 --- /dev/null +++ b/practice/test/src/day09/Teacher.java @@ -0,0 +1,15 @@ +package day09; + +public class Teacher extends Human { + public Teacher() { + + } + + public Teacher(String name, String age) { + super(name, age); + } + + public void teach() { + System.out.println("TEACHER"); + } +} diff --git a/practice/test/src/day10/Animal.java b/practice/test/src/day10/Animal.java new file mode 100644 index 00000000..2a6982fe --- /dev/null +++ b/practice/test/src/day10/Animal.java @@ -0,0 +1,35 @@ +package day10; + +public class Animal { + private String name; + private int age; + + public Animal() { + + } + + public Animal(String name, int age) { + this.name = name; + this.age = age; + } + + public void setName(String name) { + this.name = name; + } + + public String getName() { + return name; + } + + public void setAge(int age) { + this.age = age; + } + + public int getAge() { + return age; + } + + public void eat() { + + } +} diff --git a/practice/test/src/day10/AnimalDemo.java b/practice/test/src/day10/AnimalDemo.java new file mode 100644 index 00000000..9ebabc15 --- /dev/null +++ b/practice/test/src/day10/AnimalDemo.java @@ -0,0 +1,15 @@ +package day10; + +public class AnimalDemo { + public static void main(String[] args) { + Animal cat = new Cat(); + cat.setAge(4); + cat.setName("biubiu"); + System.out.println(cat.getName() + ", " + cat.getAge()); + cat.eat(); + + Animal cat1 = new Cat("nana", 22); + System.out.println(cat1.getName() + ", " + cat1.getAge()); + cat1.eat(); + } +} diff --git a/practice/test/src/day10/Cat.java b/practice/test/src/day10/Cat.java new file mode 100644 index 00000000..6878777b --- /dev/null +++ b/practice/test/src/day10/Cat.java @@ -0,0 +1,15 @@ +package day10; + +public class Cat extends Animal { + public Cat() { + } + + public Cat(String name, int age) { + super(name, age); + } + + @Override + public void eat() { + System.out.println("Cat eats mouse"); + } +} diff --git a/practice/test/src/day10/ComputerTest.java b/practice/test/src/day10/ComputerTest.java new file mode 100644 index 00000000..7a4456d6 --- /dev/null +++ b/practice/test/src/day10/ComputerTest.java @@ -0,0 +1,16 @@ +package day10; + +public class ComputerTest { + public static void main(String[] args) { + long total = 0; + for (int j = 0; j < 101; j++) { + long start = System.currentTimeMillis(); + for (int i = 0; i < 1000; i++) { + System.out.println(i); + } + long end = System.currentTimeMillis(); + total += (end - start); + } + System.out.println(total/100); + } +} diff --git a/practice/test/src/day10/OuterInner/Outer.java b/practice/test/src/day10/OuterInner/Outer.java new file mode 100644 index 00000000..220a3973 --- /dev/null +++ b/practice/test/src/day10/OuterInner/Outer.java @@ -0,0 +1,12 @@ +package day10.OuterInner; + +public class Outer { + + private int age = 10; + + public class Inner { + public void show() { + System.out.println(age); + } + } +} diff --git a/practice/test/src/day10/OuterInner/testdemo.java b/practice/test/src/day10/OuterInner/testdemo.java new file mode 100644 index 00000000..4e8b5c52 --- /dev/null +++ b/practice/test/src/day10/OuterInner/testdemo.java @@ -0,0 +1,8 @@ +package day10.OuterInner; + +public class testdemo { + public static void main(String[] args) { + Outer.Inner oi = new Outer().new Inner(); + oi.show(); + } +} diff --git a/practice/test/src/day10/PlayerAndCoach/BasketballCoach.java b/practice/test/src/day10/PlayerAndCoach/BasketballCoach.java new file mode 100644 index 00000000..e3822370 --- /dev/null +++ b/practice/test/src/day10/PlayerAndCoach/BasketballCoach.java @@ -0,0 +1,20 @@ +package day10.PlayerAndCoach; + +public class BasketballCoach extends Coach { + public BasketballCoach() { + } + + public BasketballCoach(String name, int age) { + super(name, age); + } + + @Override + public void eat() { + System.out.println("篮球教练吃牛肉"); + } + + @Override + public void Teach() { + System.out.println("篮球教练教篮球"); + } +} diff --git a/practice/test/src/day10/PlayerAndCoach/BasketballPlayer.java b/practice/test/src/day10/PlayerAndCoach/BasketballPlayer.java new file mode 100644 index 00000000..62bdc202 --- /dev/null +++ b/practice/test/src/day10/PlayerAndCoach/BasketballPlayer.java @@ -0,0 +1,20 @@ +package day10.PlayerAndCoach; + +public class BasketballPlayer extends Player { + public BasketballPlayer() { + } + + public BasketballPlayer(String name, int age) { + super(name, age); + } + + @Override + public void eat() { + System.out.println("篮球运动员吃猪肉"); + } + + @Override + public void Study() { + System.out.println("篮球运动员学篮球"); + } +} diff --git a/practice/test/src/day10/PlayerAndCoach/Coach.java b/practice/test/src/day10/PlayerAndCoach/Coach.java new file mode 100644 index 00000000..33b847fb --- /dev/null +++ b/practice/test/src/day10/PlayerAndCoach/Coach.java @@ -0,0 +1,12 @@ +package day10.PlayerAndCoach; + +public abstract class Coach extends Person { + public Coach() { + } + + public Coach(String name, int age) { + super(name, age); + } + + public abstract void Teach(); +} diff --git a/practice/test/src/day10/PlayerAndCoach/Person.java b/practice/test/src/day10/PlayerAndCoach/Person.java new file mode 100644 index 00000000..7fc9abe2 --- /dev/null +++ b/practice/test/src/day10/PlayerAndCoach/Person.java @@ -0,0 +1,32 @@ +package day10.PlayerAndCoach; + +public abstract class Person { + private String name; + private int age; + + public Person() { + } + + public Person(String name, int age) { + this.name = name; + this.age = age; + } + + public void setName(String name) { + this.name = name; + } + + public String getName() { + return name; + } + + public void setAge(int age) { + this.age = age; + } + + public int getAge() { + return age; + } + + public abstract void eat(); +} diff --git a/practice/test/src/day10/PlayerAndCoach/PersonDemo.java b/practice/test/src/day10/PlayerAndCoach/PersonDemo.java new file mode 100644 index 00000000..d523bee5 --- /dev/null +++ b/practice/test/src/day10/PlayerAndCoach/PersonDemo.java @@ -0,0 +1,46 @@ +package day10.PlayerAndCoach; +/* +①定义说英语接口 成员方法:说英语(); +②定义抽象人类 成员变量:姓名,年龄;构造方法:无参,带参;成员方法:get/set方法,吃饭(; +③定义抽象教练类,继承人类 构造方法:无参,带参;成员方法:教(); +④定义抽象运动员类,继承人类 构造方法:无参,带参;成员方法:学习); +⑤定义具体篮球教练类,继承教练类 构造方法:无参,带参;成员方法:重写吃饭(){...},重写教(){..} +⑥定义具体乒乓球教练类,继承教练类,实现说英语接口 + 构造方法:无参,带参;成员方法:重写吃饭(){...},重写教(){...},重写说英语(){.….} +⑦定义具体篮球运动员类,继承运动员类 构造方法:无参,带参;成员方法:重写吃饭(){.....},重写学习(){…} +⑧定义具体乒乓球运动员类,继承运动员类,实现说英语接口 + 构造方法:无参,带参;成员方法:重写吃饭(){...},重写学习(){...},重写说英语(){..} +⑨定义测试类,写代码测试 + +*/ +public class PersonDemo { + public static void main(String[] args) { + PingPangPlayer ppp = new PingPangPlayer(); + ppp.setName("zhanghao"); + ppp.setAge(22); + System.out.println(ppp.getName() + ", " + ppp.getAge()); + ppp.eat(); + ppp.Study(); + ppp.Speak(); + + PingPangCoach ppc = new PingPangCoach(); + ppc.setName("niuyan"); + ppc.setAge(32); + System.out.println(ppc.getName() + ", " + ppc.getAge()); + ppc.eat(); + ppc.Teach(); + ppc.Speak(); + + BasketballPlayer bp = new BasketballPlayer(); + bp.setName("paoyan"); + bp.setAge(20); + System.out.println(bp.getName() + ", " + bp.getAge()); + bp.eat(); + bp.Study(); + + BasketballCoach bc = new BasketballCoach("zhangwang", 34); + System.out.println(bc.getName() + ", " + bc.getAge()); + bc.eat(); + bc.Teach(); + } +} diff --git a/practice/test/src/day10/PlayerAndCoach/PingPangCoach.java b/practice/test/src/day10/PlayerAndCoach/PingPangCoach.java new file mode 100644 index 00000000..861d76ce --- /dev/null +++ b/practice/test/src/day10/PlayerAndCoach/PingPangCoach.java @@ -0,0 +1,25 @@ +package day10.PlayerAndCoach; + +public class PingPangCoach extends Coach implements SpeakEnglish { + public PingPangCoach() { + } + + public PingPangCoach(String name, int age) { + super(name, age); + } + + @Override + public void eat() { + System.out.println("乒乓球教练吃羊肉"); + } + + @Override + public void Teach() { + System.out.println("乒乓球教练教乒乓球"); + } + + @Override + public void Speak() { + System.out.println("乒乓球教练学英语"); + } +} diff --git a/practice/test/src/day10/PlayerAndCoach/PingPangPlayer.java b/practice/test/src/day10/PlayerAndCoach/PingPangPlayer.java new file mode 100644 index 00000000..9a625369 --- /dev/null +++ b/practice/test/src/day10/PlayerAndCoach/PingPangPlayer.java @@ -0,0 +1,26 @@ +package day10.PlayerAndCoach; + +public class PingPangPlayer extends Player implements SpeakEnglish { + public PingPangPlayer() { + + } + + public PingPangPlayer(String name, int age) { + super(name, age); + } + + @Override + public void eat() { + System.out.println("乒乓球运动员吃鸭肉"); + } + + @Override + public void Study() { + System.out.println("乒乓球运动员学乒乓球"); + } + + @Override + public void Speak() { + System.out.println("乒乓球运动员学习英语"); + } +} diff --git a/practice/test/src/day10/PlayerAndCoach/Player.java b/practice/test/src/day10/PlayerAndCoach/Player.java new file mode 100644 index 00000000..dce38317 --- /dev/null +++ b/practice/test/src/day10/PlayerAndCoach/Player.java @@ -0,0 +1,12 @@ +package day10.PlayerAndCoach; + +public abstract class Player extends Person { + public Player() { + } + + public Player(String name, int age) { + super(name, age); + } + + public abstract void Study(); +} diff --git a/practice/test/src/day10/PlayerAndCoach/SpeakEnglish.java b/practice/test/src/day10/PlayerAndCoach/SpeakEnglish.java new file mode 100644 index 00000000..a11d3165 --- /dev/null +++ b/practice/test/src/day10/PlayerAndCoach/SpeakEnglish.java @@ -0,0 +1,5 @@ +package day10.PlayerAndCoach; + +public interface SpeakEnglish { + public abstract void Speak(); +} diff --git a/practice/test/src/day10/jiekou/Animal.java b/practice/test/src/day10/jiekou/Animal.java new file mode 100644 index 00000000..03a122f5 --- /dev/null +++ b/practice/test/src/day10/jiekou/Animal.java @@ -0,0 +1,33 @@ +package day10.jiekou; + +public abstract class Animal { + private String name; + private int age; + + public Animal() { + + } + + public Animal(String name, int age) { + this.name = name; + this.age = age; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } + + public abstract void eat(); +} diff --git a/practice/test/src/day10/jiekou/AnimalDemo.java b/practice/test/src/day10/jiekou/AnimalDemo.java new file mode 100644 index 00000000..19364c67 --- /dev/null +++ b/practice/test/src/day10/jiekou/AnimalDemo.java @@ -0,0 +1,12 @@ +package day10.jiekou; + +public class AnimalDemo { + public static void main(String[] args) { + Cat cat = new Cat(); + cat.setName("biubiu"); + cat.setAge(1); + System.out.println(cat.getName() + ", " + cat.getAge()); + cat.eat(); + cat.jumping(); + } +} diff --git a/practice/test/src/day10/jiekou/Cat.java b/practice/test/src/day10/jiekou/Cat.java new file mode 100644 index 00000000..643adabb --- /dev/null +++ b/practice/test/src/day10/jiekou/Cat.java @@ -0,0 +1,21 @@ +package day10.jiekou; + +public class Cat extends Animal implements Jumping { + + public Cat() { + } + + public Cat(String name, int age) { + super(name, age); + } + + @Override + public void eat() { + System.out.println("Cat eats fish"); + } + + @Override + public void jumping() { + System.out.println("cat jump"); + } +} diff --git a/practice/test/src/day10/jiekou/Jumping.java b/practice/test/src/day10/jiekou/Jumping.java new file mode 100644 index 00000000..7c44cbba --- /dev/null +++ b/practice/test/src/day10/jiekou/Jumping.java @@ -0,0 +1,5 @@ +package day10.jiekou; + +public interface Jumping { + void jumping(); +} diff --git a/practice/test/src/day10/maopao.java b/practice/test/src/day10/maopao.java new file mode 100644 index 00000000..dbac929f --- /dev/null +++ b/practice/test/src/day10/maopao.java @@ -0,0 +1,64 @@ +package day10; + +import java.util.Scanner; + +public class maopao { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + System.out.print("Please input how much numbers you have:"); + int n = sc.nextInt(); + int[] num = new int[n]; + for (int i = 0; i < num.length; i++) { + String s = Ordinal(i + 1); + System.out.print("Please input the " + s + " number:"); + num[i] = sc.nextInt(); + } + System.out.print("Before sorting: "); + PrintArr(num); + + int temp; + for (int i = 0; i < num.length - 1; i++) { + for (int j = 0; j < num.length - 1 - i; j++) { + if (num[j] < num[j + 1]) { + temp = num[j]; + num[j] = num[j + 1]; + num[j + 1] = temp; + } + } + } + System.out.print("After sorting: "); + PrintArr(num); + sc.close(); + } + + public static void PrintArr(int[] num) { + System.out.print("["); + for (int i = 0; i < num.length; i++) { + if (i == num.length - 1) { + System.out.print(num[i]); + } else { + System.out.print(num[i] + ", "); + } + } + System.out.println("]"); + } + + public static String Ordinal(int a) { + String ord; + switch (a % 10) { + case 1: + ord = a + "st"; + break; + case 2: + ord = a + "nd"; + break; + case 3: + ord = a + "rd"; + break; + default: + ord = a + "th"; + break; + } + return ord; + } +} diff --git a/practice/test/src/day11/Component/ComponentTest.java b/practice/test/src/day11/Component/ComponentTest.java new file mode 100644 index 00000000..7410f83f --- /dev/null +++ b/practice/test/src/day11/Component/ComponentTest.java @@ -0,0 +1,12 @@ +package day11.Component; + +import java.awt.*; + +public class ComponentTest { + public static void main(String[] args) { + Frame frame = new Frame("test"); + frame.setLocation(500, 300); + frame.setSize(300, 300); + frame.setVisible(true); + } +} diff --git a/practice/test/src/day11/Component/PanelTest.java b/practice/test/src/day11/Component/PanelTest.java new file mode 100644 index 00000000..ecdf285e --- /dev/null +++ b/practice/test/src/day11/Component/PanelTest.java @@ -0,0 +1,18 @@ +package day11.Component; + +import java.awt.*; + + +public class PanelTest { + public static void main(String[] args) { + Frame f = new Frame("Panel test"); + Panel p = new Panel(); + p.add(new TextField("text test")); + p.add(new Button("button")); + f.add(p); + f.setBounds(200, 200, 500, 500); + f.setVisible(true); + f.setBackground(Color.DARK_GRAY); + + } +} diff --git a/practice/test/src/day11/DateDemo.java b/practice/test/src/day11/DateDemo.java new file mode 100644 index 00000000..d4c512d5 --- /dev/null +++ b/practice/test/src/day11/DateDemo.java @@ -0,0 +1,36 @@ +package day11; + +import java.text.ParseException; +import java.util.Calendar; +import java.util.Date; + +public class DateDemo { + public static void main(String[] args) throws ParseException { + Date dd = new Date(); + String s = DateUtil.DatetoString(dd, "yy MM dd"); + System.out.println(s); + + String ss = "22 11 30"; + Date d = DateUtil.StringtoDate(ss, "yy MM dd"); + System.out.println(d); + + Calendar c = Calendar.getInstance(); + int year = c.get(Calendar.YEAR); + int month = c.get(Calendar.MONTH); + int day = c.get(Calendar.DATE); + System.out.println(year + "-" + month + "-" + day); + + c.add(Calendar.MONTH, 10); + year = c.get(Calendar.YEAR); + month = c.get(Calendar.MONTH); + day = c.get(Calendar.DATE); + System.out.println(year + "-" + month + "-" + day); + + c.add(Calendar.DATE, 45); + year = c.get(Calendar.YEAR); + month = c.get(Calendar.MONTH); + day = c.get(Calendar.DATE); + System.out.println(year + "-" + month + "-" + day); + + } +} diff --git a/practice/test/src/day11/DateUtil.java b/practice/test/src/day11/DateUtil.java new file mode 100644 index 00000000..914a4898 --- /dev/null +++ b/practice/test/src/day11/DateUtil.java @@ -0,0 +1,22 @@ +package day11; + +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Date; + +public class DateUtil { + private DateUtil() { + } + + public static String DatetoString(Date d, String format) { + SimpleDateFormat sdf = new SimpleDateFormat(format); + String s = sdf.format(d); + return s; + } + + public static Date StringtoDate(String s, String format) throws ParseException { + SimpleDateFormat sdf = new SimpleDateFormat(format); + Date d = sdf.parse(s); + return d; + } +} diff --git a/practice/test/src/day11/Exception/ExceptionDemo.java b/practice/test/src/day11/Exception/ExceptionDemo.java new file mode 100644 index 00000000..35eff470 --- /dev/null +++ b/practice/test/src/day11/Exception/ExceptionDemo.java @@ -0,0 +1,17 @@ +package day11.Exception; + +import java.util.Scanner; + +public class ExceptionDemo { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + int score = sc.nextInt(); + Teacher t = new Teacher(); + try { + t.ScoreCheck(score); + } catch (ScoreException e) { + e.printStackTrace(); + } + sc.close(); + } +} diff --git a/practice/test/src/day11/Exception/ScoreException.java b/practice/test/src/day11/Exception/ScoreException.java new file mode 100644 index 00000000..28030216 --- /dev/null +++ b/practice/test/src/day11/Exception/ScoreException.java @@ -0,0 +1,23 @@ +package day11.Exception; + +public class ScoreException extends Exception { + public ScoreException() { + } + + public ScoreException(String message) { + super(message); + } + + public ScoreException(Throwable cause) { + super(cause); + } + + public ScoreException(String message, Throwable cause) { + super(message, cause); + } + + public ScoreException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { + super(message, cause, enableSuppression, writableStackTrace); + } + +} diff --git a/practice/test/src/day11/Exception/Teacher.java b/practice/test/src/day11/Exception/Teacher.java new file mode 100644 index 00000000..a3308a70 --- /dev/null +++ b/practice/test/src/day11/Exception/Teacher.java @@ -0,0 +1,11 @@ +package day11.Exception; + +public class Teacher { + public void ScoreCheck(int score) throws ScoreException{ + if (score < 0 || score > 100) { + throw new ScoreException("Score out of range"); + } else { + System.out.println("Score is good"); + } + } +} diff --git a/practice/test/src/day11/GetFeb.java b/practice/test/src/day11/GetFeb.java new file mode 100644 index 00000000..35bb987d --- /dev/null +++ b/practice/test/src/day11/GetFeb.java @@ -0,0 +1,24 @@ +package day11; + +import java.util.Calendar; +import java.util.Scanner; + +public class GetFeb { + public static void main(String[] args) { + Calendar c = Calendar.getInstance(); + Scanner sc = new Scanner(System.in); + System.out.println("Please input in which YEAR you want for the number of the days in Feb:"); + int y = sc.nextInt(); + c.set(y, 2, 1); + c.add(Calendar.DATE, -1); + int num = c.get(Calendar.DATE); + System.out.println("There're " + num + " days in Feb in " + y); + sc.close(); + for (int i = 0; i < 2023; i++) { + c.set(i, 2, 1); + c.add(Calendar.DATE, -1); + num = c.get(Calendar.DATE); + System.out.println(num); + } + } +} diff --git a/practice/test/src/day11/IntegerTest.java b/practice/test/src/day11/IntegerTest.java new file mode 100644 index 00000000..d2ebb61d --- /dev/null +++ b/practice/test/src/day11/IntegerTest.java @@ -0,0 +1,26 @@ +package day11; + +import java.util.Arrays; + +public class IntegerTest { + public static void main(String[] args) { + String s = "12,45,89,62,34,57"; + String[] split = s.split(","); + int[] temp = new int[split.length]; + for (int i = 0; i < temp.length; i++) { + temp[i] = Integer.parseInt(split[i]); + } + Arrays.sort(temp); + StringBuilder ss = new StringBuilder(); + for (int i = 0; i < temp.length; i++) { + if (i == temp.length - 1) { + ss.append(temp[i]); + } else { + ss.append(temp[i]).append(" "); + } + } + System.out.println(ss); + + + } +} diff --git a/practice/test/src/day11/Trycatch.java b/practice/test/src/day11/Trycatch.java new file mode 100644 index 00000000..3c276231 --- /dev/null +++ b/practice/test/src/day11/Trycatch.java @@ -0,0 +1,22 @@ +package day11; + +public class Trycatch { + public static void main(String[] args) { + System.out.println("kaishi"); + try { + method(); + } catch (ArrayIndexOutOfBoundsException e) { + System.out.println("shuzuyuejie"); + System.out.println(e.getMessage()); + System.out.println(e.toString()); + e.printStackTrace(); + } + + System.out.println("end"); + } + + public static void method() { + int[] a = { 1, 2, 3 }; + System.out.println(a[3]); + } +} diff --git a/practice/test/src/day12/CetDemo.java b/practice/test/src/day12/CetDemo.java new file mode 100644 index 00000000..b5642b1c --- /dev/null +++ b/practice/test/src/day12/CetDemo.java @@ -0,0 +1,23 @@ +package day12; + +import java.util.HashSet; +import java.util.Iterator; +import java.util.Set; + +public class CetDemo { + public static void main(String[] args) { + Set ss = new HashSet(); + ss.add("hello"); + ss.add("world"); + ss.add("java"); + + for (String test : ss) { + System.out.println(test); + } + + Iterator itr = ss.iterator(); + while (itr.hasNext()) { + System.out.println(ss.getClass().hashCode()); + } + } +} diff --git a/practice/test/src/day12/Student/CollectionDemo.java b/practice/test/src/day12/Student/CollectionDemo.java new file mode 100644 index 00000000..2c58bc74 --- /dev/null +++ b/practice/test/src/day12/Student/CollectionDemo.java @@ -0,0 +1,25 @@ +package day12.Student; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.Iterator; + +public class CollectionDemo { + public static void main(String[] args) { + Collection s = new ArrayList(); + Student s1 = new Student("abc", 14); + Student s2 = new Student("def", 16); + Student s3 = new Student("ghi", 18); + + s.add(s1); + s.add(s2); + s.add(s3); + + Iterator it = s.iterator(); + while (it.hasNext()) { + Student sss = it.next(); + System.out.println(sss.getName() + ", " + sss.getAge()); + } + + } +} diff --git a/practice/test/src/day12/Student/ListDemo.java b/practice/test/src/day12/Student/ListDemo.java new file mode 100644 index 00000000..f9449589 --- /dev/null +++ b/practice/test/src/day12/Student/ListDemo.java @@ -0,0 +1,34 @@ +package day12.Student; + +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; + +public class ListDemo { + public static void main(String[] args) { + List list = new ArrayList(); + Student s1 = new Student("a", 12); + Student s2 = new Student("b", 12); + Student s3 = new Student("c", 12); + + list.add(s1); + list.add(s2); + list.add(s3); + list.add(s2); + + Iterator s = list.iterator(); + while (s.hasNext()) { + Student test = s.next(); + System.out.println(test.getName() + ", " + test.getAge()); + } + System.out.println("-------------"); + for (int i = 0; i < list.size(); i++) { + Student demo = list.get(i); + System.out.println(demo.getName() + ", " + demo.getAge()); + } + System.out.println("-------------"); + for (Student student : list) { + System.out.println(student.getName() + ", " + student.getAge()); + } + } +} diff --git a/practice/test/src/day12/Student/Student.java b/practice/test/src/day12/Student/Student.java new file mode 100644 index 00000000..a1b9afae --- /dev/null +++ b/practice/test/src/day12/Student/Student.java @@ -0,0 +1,31 @@ +package day12.Student; + +public class Student { + private String name; + private int age; + + public Student() { + + } + + public Student(String name, int age) { + this.name = name; + this.age = age; + } + + public void setName(String name) { + this.name = name; + } + + public String getName() { + return name; + } + + public void setAge(int age) { + this.age = age; + } + + public int getAge() { + return age; + } +} diff --git a/practice/test/src/problems/quanpailie.java b/practice/test/src/problems/quanpailie.java new file mode 100644 index 00000000..fe5638f1 --- /dev/null +++ b/practice/test/src/problems/quanpailie.java @@ -0,0 +1,68 @@ +package problems; + +//import java.util.ArrayList; +import java.util.Scanner; + +public class quanpailie { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + int n = sc.nextInt(); + sc.close(); + //ArrayList arr = new ArrayList(); + + int[] arr = new int[n]; + for (int i = 0; i < arr.length; i++) { + arr[i] = i + 1; + } + if (n >= 1 && n <= 9) { + int index = 0; + while (true) { + arrprint(arr); + for (int i = arr.length - 2; i >= 0; i--) { + if (arr[i] < arr[i + 1]) { + index = i; + break; + } else if (i <= 0) { + return; + } + } + for (int i = arr.length - 1; i >= 0; i--) { + if (arr[i] > arr[index]) { + num_exchg(arr, i, index); + break; + } + } + reverse(arr, index + 1); + } + } + + } + + // 逆序 i逆序开始的下标 + public static void reverse(int[] arr, int i) { + int k = i, j = arr.length - 1; + while (k < j) { + num_exchg(arr, k, j); + k++; + j--; + } + } + + // 交换ab处数据 + public static void num_exchg(int[] arr, int a, int b) { + int trans = arr[a]; + arr[a] = arr[b]; + arr[b] = trans; + } + + // 输出arr + public static void arrprint(int[] arr) { + for (int j = 0; j < arr.length; j++) { + if (j == arr.length - 1) { + System.out.println(arr[j]); + } else { + System.out.print(arr[j] + " "); + } + } + } +} diff --git a/practice/test/src/problems/sort.java b/practice/test/src/problems/sort.java new file mode 100644 index 00000000..3e6f3e29 --- /dev/null +++ b/practice/test/src/problems/sort.java @@ -0,0 +1,87 @@ +package problems; + +import java.util.Arrays; +import java.util.Scanner; + +public class sort { + public static void main(String[] args) { + System.out.println("请输入待排列的数据总个数:"); + Scanner in = new Scanner(System.in); + int size = in.nextInt(); + int[] daysList = new int[size]; + for (int i = 0; i < size; i++) { + System.out.println("请输入第" + (i + 1) + "个数:"); + daysList[i] = in.nextInt(); + } + in.close(); + permute(daysList, 0); + } + + public static void permute(int[] array, int start) { + Arrays.sort(array);// 先排个序 + int index = 0; + + while (true) { + printArray(array);// 输出 + // 从右往左寻找第一个逆序 + for (int i = array.length - 2; i >= 0; i--) { + if (array[i] < array[i + 1]) { + index = i;// 找到第一个逆序下标 + break; + } else if (i <= 0) {// 若不存在逆序,即到了例如54321这种排列,则说明排列完了 + return; + } + } + // 到这里找到了第一个逆序的下标,应该将这个下标的数字与,从右往左第一个大于该数字的数交换 + for (int i = array.length - 1; i >= 0; i--) { + if (array[i] > array[index]) { + swap(array, i, index);// 交换 + break; + } + } + + // 接下来将index之后的数据逆序排列 + reverse(array, index + 1); + } + } + + /** + * 将输入的数组反过来(逆序) + * + * @param array 待逆序的数组 + * @param i 逆序开始的下标(该下标之前的数据不会变) + */ + public static void reverse(int array[], int i) { + int k = i, j = array.length - 1; + while (k < j) { + swap(array, k, j); + k++; + j--; + } + } + + /** + * 交换array[s]和array[i]的数据 + * + * @param array + * @param s + * @param i + */ + private static void swap(int[] array, int s, int i) { + int t = array[s]; + array[s] = array[i]; + array[i] = t; + } + + /** + * 将array打印出来 + * + * @param array + */ + private static void printArray(int[] array) { + for (int i = 0; i < array.length; i++) { + System.out.print(array[i]); + } + System.out.print("\n"); + } +} diff --git a/practice/test/src/problems/test1.java b/practice/test/src/problems/test1.java new file mode 100644 index 00000000..5f7ce458 --- /dev/null +++ b/practice/test/src/problems/test1.java @@ -0,0 +1,16 @@ +package problems; + +import java.util.Scanner; + +public class test1 { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + System.out.print("please input A:"); + int a = sc.nextInt(); + System.out.print("please input B:"); + int b = sc.nextInt(); + int c = a + b; + System.out.print("A + B = " + c); + sc.close(); + } +} \ No newline at end of file diff --git a/practice/test/src/problems/workspace.code-workspace b/practice/test/src/problems/workspace.code-workspace new file mode 100644 index 00000000..f65289df --- /dev/null +++ b/practice/test/src/problems/workspace.code-workspace @@ -0,0 +1,16 @@ +{ + "folders": [ + { + "path": "..\\.." + } + ], + "settings": { + "java.project.sourcePaths": [ + "src" + ], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] + } +} \ No newline at end of file diff --git a/snake/gui/.vscode/launch.json b/snake/gui/.vscode/launch.json new file mode 100644 index 00000000..39bf0d82 --- /dev/null +++ b/snake/gui/.vscode/launch.json @@ -0,0 +1,63 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "java", + "name": "Launch Calc", + "request": "launch", + "mainClass": "GUI.MyCalc.Calc", + "projectName": "gui_9bc7051b" + }, + { + "type": "java", + "name": "Launch CalcTest", + "request": "launch", + "mainClass": "GUI.calc.CalcTest", + "projectName": "gui_9bc7051b" + }, + { + "type": "java", + "name": "Launch Text1", + "request": "launch", + "mainClass": "GUI.text.Text1", + "projectName": "gui_9bc7051b" + }, + { + "type": "java", + "name": "Launch Text1", + "request": "launch", + "mainClass": "GUI.Text1", + "projectName": "gui_9bc7051b" + }, + { + "type": "java", + "name": "Launch Current File", + "request": "launch", + "mainClass": "${file}" + }, + { + "type": "java", + "name": "Launch App", + "request": "launch", + "mainClass": "App", + "projectName": "gui_9bc7051b" + }, + { + "type": "java", + "name": "Launch ExTest", + "request": "launch", + "mainClass": "GUI.ExTest", + "projectName": "gui_9bc7051b" + }, + { + "type": "java", + "name": "Launch first", + "request": "launch", + "mainClass": "GUI.first", + "projectName": "gui_9bc7051b" + } + ] +} \ No newline at end of file diff --git a/snake/gui/.vscode/settings.json b/snake/gui/.vscode/settings.json new file mode 100644 index 00000000..e112a702 --- /dev/null +++ b/snake/gui/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "java.project.sourcePaths": ["src"], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] +} diff --git a/snake/gui/README.md b/snake/gui/README.md new file mode 100644 index 00000000..7c03a532 --- /dev/null +++ b/snake/gui/README.md @@ -0,0 +1,18 @@ +## Getting Started + +Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code. + +## Folder Structure + +The workspace contains two folders by default, where: + +- `src`: the folder to maintain sources +- `lib`: the folder to maintain dependencies + +Meanwhile, the compiled output files will be generated in the `bin` folder by default. + +> If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there. + +## Dependency Management + +The `JAVA PROJECTS` view allows you to manage your dependencies. More details can be found [here](https://github.com/microsoft/vscode-java-dependency#manage-dependencies). diff --git a/snake/gui/bin/App.class b/snake/gui/bin/App.class new file mode 100644 index 00000000..34799af2 Binary files /dev/null and b/snake/gui/bin/App.class differ diff --git a/snake/gui/bin/GUI/ExTest$1.class b/snake/gui/bin/GUI/ExTest$1.class new file mode 100644 index 00000000..b7d64903 Binary files /dev/null and b/snake/gui/bin/GUI/ExTest$1.class differ diff --git a/snake/gui/bin/GUI/ExTest.class b/snake/gui/bin/GUI/ExTest.class new file mode 100644 index 00000000..f4515dc2 Binary files /dev/null and b/snake/gui/bin/GUI/ExTest.class differ diff --git a/snake/gui/bin/GUI/MyCalc/Calc.class b/snake/gui/bin/GUI/MyCalc/Calc.class new file mode 100644 index 00000000..00f7fe90 Binary files /dev/null and b/snake/gui/bin/GUI/MyCalc/Calc.class differ diff --git a/snake/gui/bin/GUI/MyCalc/MyCalculator$1.class b/snake/gui/bin/GUI/MyCalc/MyCalculator$1.class new file mode 100644 index 00000000..30c02311 Binary files /dev/null and b/snake/gui/bin/GUI/MyCalc/MyCalculator$1.class differ diff --git a/snake/gui/bin/GUI/MyCalc/MyCalculator.class b/snake/gui/bin/GUI/MyCalc/MyCalculator.class new file mode 100644 index 00000000..4b48e22c Binary files /dev/null and b/snake/gui/bin/GUI/MyCalc/MyCalculator.class differ diff --git a/snake/gui/bin/GUI/calc/CalcTest.class b/snake/gui/bin/GUI/calc/CalcTest.class new file mode 100644 index 00000000..f76539dd Binary files /dev/null and b/snake/gui/bin/GUI/calc/CalcTest.class differ diff --git a/snake/gui/bin/GUI/calc/Calculator$1.class b/snake/gui/bin/GUI/calc/Calculator$1.class new file mode 100644 index 00000000..a9fae58a Binary files /dev/null and b/snake/gui/bin/GUI/calc/Calculator$1.class differ diff --git a/snake/gui/bin/GUI/calc/Calculator.class b/snake/gui/bin/GUI/calc/Calculator.class new file mode 100644 index 00000000..1b672bb1 Binary files /dev/null and b/snake/gui/bin/GUI/calc/Calculator.class differ diff --git a/snake/gui/bin/GUI/calc/MyCalculatorListener.class b/snake/gui/bin/GUI/calc/MyCalculatorListener.class new file mode 100644 index 00000000..375b7c7c Binary files /dev/null and b/snake/gui/bin/GUI/calc/MyCalculatorListener.class differ diff --git a/snake/gui/bin/GUI/first$1.class b/snake/gui/bin/GUI/first$1.class new file mode 100644 index 00000000..645617c3 Binary files /dev/null and b/snake/gui/bin/GUI/first$1.class differ diff --git a/snake/gui/bin/GUI/first.class b/snake/gui/bin/GUI/first.class new file mode 100644 index 00000000..0d0d1584 Binary files /dev/null and b/snake/gui/bin/GUI/first.class differ diff --git a/snake/gui/bin/GUI/mymonitor.class b/snake/gui/bin/GUI/mymonitor.class new file mode 100644 index 00000000..9459a44d Binary files /dev/null and b/snake/gui/bin/GUI/mymonitor.class differ diff --git a/snake/gui/bin/GUI/text/MyActionListener.class b/snake/gui/bin/GUI/text/MyActionListener.class new file mode 100644 index 00000000..ed0176e8 Binary files /dev/null and b/snake/gui/bin/GUI/text/MyActionListener.class differ diff --git a/snake/gui/bin/GUI/text/Myframe$1.class b/snake/gui/bin/GUI/text/Myframe$1.class new file mode 100644 index 00000000..90f532b0 Binary files /dev/null and b/snake/gui/bin/GUI/text/Myframe$1.class differ diff --git a/snake/gui/bin/GUI/text/Myframe.class b/snake/gui/bin/GUI/text/Myframe.class new file mode 100644 index 00000000..60c2f0f4 Binary files /dev/null and b/snake/gui/bin/GUI/text/Myframe.class differ diff --git a/snake/gui/bin/GUI/text/Text1.class b/snake/gui/bin/GUI/text/Text1.class new file mode 100644 index 00000000..e044785c Binary files /dev/null and b/snake/gui/bin/GUI/text/Text1.class differ diff --git a/snake/gui/lib/junit-platform-console-standalone-1.8.2.jar b/snake/gui/lib/junit-platform-console-standalone-1.8.2.jar new file mode 100644 index 00000000..d6dc60c5 Binary files /dev/null and b/snake/gui/lib/junit-platform-console-standalone-1.8.2.jar differ diff --git a/snake/gui/src/App.java b/snake/gui/src/App.java new file mode 100644 index 00000000..0a839f9b --- /dev/null +++ b/snake/gui/src/App.java @@ -0,0 +1,5 @@ +public class App { + public static void main(String[] args) throws Exception { + System.out.println("Hello, World!"); + } +} diff --git a/snake/gui/src/GUI/ExTest.java b/snake/gui/src/GUI/ExTest.java new file mode 100644 index 00000000..27977990 --- /dev/null +++ b/snake/gui/src/GUI/ExTest.java @@ -0,0 +1,52 @@ +package GUI; + +import java.awt.BorderLayout; +import java.awt.Button; +import java.awt.Color; +import java.awt.Frame; +import java.awt.GridLayout; +import java.awt.Panel; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; + +public class ExTest { + public static void main(String[] args) { + Frame f = new Frame(); + f.setVisible(true); + f.setBounds(300, 300, 500, 700); + f.setBackground(Color.BLUE); + f.setLayout(new GridLayout(2, 1)); + + Panel p1 = new Panel(new BorderLayout()); + Panel p2 = new Panel(new GridLayout(2, 1)); + Panel p3 = new Panel(new BorderLayout()); + Panel p4 = new Panel(new GridLayout(2, 2)); + + p1.add(new Button("EAST-1"), BorderLayout.EAST); + p1.add(new Button("WEST-1"), BorderLayout.WEST); + p2.add(new Button("1")); + p2.add(new Button("2")); + p1.add(p2, BorderLayout.CENTER); + + p3.add(new Button("EAST-2"), BorderLayout.EAST); + p3.setBackground(Color.BLACK); + p3.add(new Button("WEST-2"), BorderLayout.WEST); + for (int i = 0; i < 4; i++) { + p4.add(new Button(" " + i)); + } + p3.add(p4, BorderLayout.CENTER); + + f.add(p1); + f.add(p3); + windowclose(f); + } + + private static void windowclose(Frame frame) { + frame.addWindowListener(new WindowAdapter() { + @Override + public void windowClosing(WindowEvent e) { + System.exit(0); + } + }); + } +} diff --git a/snake/gui/src/GUI/MyCalc/Calc.java b/snake/gui/src/GUI/MyCalc/Calc.java new file mode 100644 index 00000000..86ac8578 --- /dev/null +++ b/snake/gui/src/GUI/MyCalc/Calc.java @@ -0,0 +1,8 @@ +package GUI.MyCalc; + +public class Calc { + public static void main(String[] args) { + //启动 + new MyCalculator(); + } +} diff --git a/snake/gui/src/GUI/MyCalc/MyCalculator.java b/snake/gui/src/GUI/MyCalc/MyCalculator.java new file mode 100644 index 00000000..6d0503a8 --- /dev/null +++ b/snake/gui/src/GUI/MyCalc/MyCalculator.java @@ -0,0 +1,82 @@ +package GUI.MyCalc; + +import java.awt.Button; +import java.awt.Color; +import java.awt.Container; +import java.awt.Frame; +import java.awt.GridLayout; +import java.awt.Panel; +import java.awt.TextField; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; + +public class MyCalculator extends Frame { + public MyCalculator() { + setBounds(1000, 100, 400, 600); + setVisible(true); + setLayout(new GridLayout(2,1)); + + Panel p1 = new Panel(); + Panel p2 = new Panel(); + + AddButton(p2); + + add(p1); + add(p2); + + //关闭窗口 + addWindowListener(new WindowAdapter() { + + @Override + public void windowClosing(WindowEvent e) { + System.exit(0); + } + + }); + } + + //设置输入输出框 + public void AddTextField(Container cp) { + TextField tf1 = new TextField(); + TextField tf2 = new TextField(); + cp.add(tf1, tf2); + } + + //添加键盘数字 + public void AddButton(Container cp) { + Button button11 = new Button("%"); + Button button12 = new Button("CE"); + Button button13 = new Button("C"); + Button button14 = new Button("Back"); + Button button21 = new Button("1/x"); + Button button22 = new Button("x²"); + Button button23 = new Button("sqrt(x)"); + Button button24 = new Button("÷"); + Button button31 = new Button("7"); + Button button32 = new Button("8"); + Button button33 = new Button("9"); + Button button34 = new Button("×"); + Button button41 = new Button("4"); + Button button42 = new Button("5"); + Button button43 = new Button("6"); + Button button44 = new Button("-"); + Button button51 = new Button("1"); + Button button52 = new Button("2"); + Button button53 = new Button("3"); + Button button54 = new Button("+"); + Button button61 = new Button("+/-"); + Button button62 = new Button("0"); + Button button63 = new Button("."); + Button button64 = new Button("="); + + button64.setBackground(new Color(207, 82, 119)); + cp.setLayout(new GridLayout(6, 4, 3, 3)); + + cp.add(button11);cp.add(button12);cp.add(button13);cp.add(button14); + cp.add(button21);cp.add(button22);cp.add(button23);cp.add(button24); + cp.add(button31);cp.add(button32);cp.add(button33);cp.add(button34); + cp.add(button41);cp.add(button42);cp.add(button43);cp.add(button44); + cp.add(button51);cp.add(button52);cp.add(button53);cp.add(button54); + cp.add(button61);cp.add(button62);cp.add(button63);cp.add(button64); + } +} diff --git a/snake/gui/src/GUI/calc/CalcTest.java b/snake/gui/src/GUI/calc/CalcTest.java new file mode 100644 index 00000000..fca47704 --- /dev/null +++ b/snake/gui/src/GUI/calc/CalcTest.java @@ -0,0 +1,7 @@ +package GUI.calc; + +public class CalcTest { + public static void main(String[] args) { + new Calculator(); + } +} diff --git a/snake/gui/src/GUI/calc/Calculator.java b/snake/gui/src/GUI/calc/Calculator.java new file mode 100644 index 00000000..723fdb55 --- /dev/null +++ b/snake/gui/src/GUI/calc/Calculator.java @@ -0,0 +1,47 @@ +package GUI.calc; + +import java.awt.Button; +import java.awt.FlowLayout; +import java.awt.Frame; +import java.awt.Label; +import java.awt.TextField; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; + +public class Calculator extends Frame { + + public Calculator() { + //3个文本框 + TextField num1 = new TextField(15); + TextField num2 = new TextField(15); + TextField num3 = new TextField(30); + + //1个按钮 + Button button = new Button("="); + //1个标签 + Label label = new Label("+"); + + setLayout(new FlowLayout()); + setVisible(true); + pack(); + windowclose(); + + add(num1); + add(label); + add(num2); + add(button); + add(num3); + + MyCalculatorListener myCalculatorListener = new MyCalculatorListener(num1, num2, num3); + button.addActionListener(myCalculatorListener); + } + + public void windowclose() { + addWindowListener(new WindowAdapter() { + @Override + public void windowClosing(WindowEvent e) { + System.exit(0); + } + }); + } +} diff --git a/snake/gui/src/GUI/calc/MyCalculatorListener.java b/snake/gui/src/GUI/calc/MyCalculatorListener.java new file mode 100644 index 00000000..1813b823 --- /dev/null +++ b/snake/gui/src/GUI/calc/MyCalculatorListener.java @@ -0,0 +1,28 @@ +package GUI.calc; + +import java.awt.TextField; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; + +public class MyCalculatorListener implements ActionListener { + //传入数据 + private TextField num1,num2,num3; + + public MyCalculatorListener(TextField num1,TextField num2,TextField num3) { + this.num1 = num1; + this.num2 = num2; + this.num3 = num3; + } + + @Override + public void actionPerformed(ActionEvent e) { + int n1 = Integer.parseInt(num1.getText()); + int n2 = Integer.parseInt(num2.getText()); + + num3.setText("" + (n1+n2)); + + num1.setText(""); + num2.setText(""); + } + +} diff --git a/snake/gui/src/GUI/first.java b/snake/gui/src/GUI/first.java new file mode 100644 index 00000000..5a9138ae --- /dev/null +++ b/snake/gui/src/GUI/first.java @@ -0,0 +1,48 @@ +package GUI; + +import java.awt.BorderLayout; +import java.awt.Button; +import java.awt.Frame; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; + +public class first { + public static void main(String[] args) { + Frame frame = new Frame("first"); + frame.setVisible(true); + Button button1 = new Button("start"); + Button button2 = new Button("stop"); + button2.setActionCommand("cnm"); + mymonitor mmn = new mymonitor(); + button1.addActionListener(mmn); + button2.addActionListener(mmn); + + frame.add(button1, BorderLayout.SOUTH); + frame.add(button2, BorderLayout.NORTH); + + frame.pack(); + frame.setVisible(true); + windowclose(frame); + } + + private static void windowclose(Frame frame) { + frame.addWindowListener(new WindowAdapter() { + @Override + public void windowClosing(WindowEvent e) { + System.exit(0); + } + }); + + } +} + +class mymonitor implements ActionListener { + + @Override + public void actionPerformed(ActionEvent e) { + System.out.println("nima" + e.getActionCommand()); + } + +} diff --git a/snake/gui/src/GUI/text/MyActionListener.java b/snake/gui/src/GUI/text/MyActionListener.java new file mode 100644 index 00000000..5734077d --- /dev/null +++ b/snake/gui/src/GUI/text/MyActionListener.java @@ -0,0 +1,14 @@ +package GUI.text; + +import java.awt.TextField; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; + +class MyActionListener implements ActionListener { + @Override + public void actionPerformed(ActionEvent e) { + TextField f = (TextField) e.getSource(); + System.out.println(f.getText()); + f.setText(""); + } +} \ No newline at end of file diff --git a/snake/gui/src/GUI/text/Myframe.java b/snake/gui/src/GUI/text/Myframe.java new file mode 100644 index 00000000..b62891e4 --- /dev/null +++ b/snake/gui/src/GUI/text/Myframe.java @@ -0,0 +1,27 @@ +package GUI.text; + +import java.awt.Frame; +import java.awt.TextField; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; + +public class Myframe extends Frame{ + public Myframe() { + TextField text = new TextField(); + add(text); + MyActionListener myActionListener = new MyActionListener(); + text.addActionListener(myActionListener); + setVisible(true); + pack(); + windowclose(); + } + + public void windowclose() { + addWindowListener(new WindowAdapter() { + @Override + public void windowClosing(WindowEvent e) { + System.exit(0); + } + }); + } +} diff --git a/snake/gui/src/GUI/text/Text1.java b/snake/gui/src/GUI/text/Text1.java new file mode 100644 index 00000000..547582e5 --- /dev/null +++ b/snake/gui/src/GUI/text/Text1.java @@ -0,0 +1,9 @@ +package GUI.text; + +public class Text1 { + public static void main(String[] args) { + //启动 + new Myframe(); + } +} +