parent
2f5c8d52d4
commit
35f35124c2
@ -0,0 +1,16 @@ |
||||
<component name="ProjectRunConfigurationManager"> |
||||
<configuration default="false" name="1.1 Rectangle" type="Application" factoryName="Application"> |
||||
<option name="MAIN_CLASS_NAME" value="net.lensfrex.Main" /> |
||||
<module name="exp1-oop" /> |
||||
<option name="PROGRAM_PARAMETERS" value="1" /> |
||||
<extension name="coverage"> |
||||
<pattern> |
||||
<option name="PATTERN" value="net.lensfrex.URLConnectionResource" /> |
||||
<option name="ENABLED" value="true" /> |
||||
</pattern> |
||||
</extension> |
||||
<method v="2"> |
||||
<option name="Make" enabled="true" /> |
||||
</method> |
||||
</configuration> |
||||
</component> |
@ -0,0 +1,16 @@ |
||||
<component name="ProjectRunConfigurationManager"> |
||||
<configuration default="false" name="1.2 Interface" type="Application" factoryName="Application"> |
||||
<option name="MAIN_CLASS_NAME" value="net.lensfrex.Main" /> |
||||
<module name="exp1-oop" /> |
||||
<option name="PROGRAM_PARAMETERS" value="2" /> |
||||
<extension name="coverage"> |
||||
<pattern> |
||||
<option name="PATTERN" value="net.lensfrex.URLConnectionResource" /> |
||||
<option name="ENABLED" value="true" /> |
||||
</pattern> |
||||
</extension> |
||||
<method v="2"> |
||||
<option name="Make" enabled="true" /> |
||||
</method> |
||||
</configuration> |
||||
</component> |
@ -0,0 +1,16 @@ |
||||
<component name="ProjectRunConfigurationManager"> |
||||
<configuration default="false" name="1.3 AbstractExtends" type="Application" factoryName="Application"> |
||||
<option name="MAIN_CLASS_NAME" value="net.lensfrex.Main" /> |
||||
<module name="exp3-network" /> |
||||
<option name="PROGRAM_PARAMETERS" value="3" /> |
||||
<extension name="coverage"> |
||||
<pattern> |
||||
<option name="PATTERN" value="net.lensfrex.URLConnectionResource" /> |
||||
<option name="ENABLED" value="true" /> |
||||
</pattern> |
||||
</extension> |
||||
<method v="2"> |
||||
<option name="Make" enabled="true" /> |
||||
</method> |
||||
</configuration> |
||||
</component> |
@ -0,0 +1,16 @@ |
||||
<component name="ProjectRunConfigurationManager"> |
||||
<configuration default="false" name="2.1 RabbitAndTortiuse" type="Application" factoryName="Application"> |
||||
<option name="MAIN_CLASS_NAME" value="net.lensfrex.Main" /> |
||||
<module name="exp2-thread" /> |
||||
<option name="PROGRAM_PARAMETERS" value="1" /> |
||||
<extension name="coverage"> |
||||
<pattern> |
||||
<option name="PATTERN" value="net.lensfrex.URLConnectionResource" /> |
||||
<option name="ENABLED" value="true" /> |
||||
</pattern> |
||||
</extension> |
||||
<method v="2"> |
||||
<option name="Make" enabled="true" /> |
||||
</method> |
||||
</configuration> |
||||
</component> |
@ -0,0 +1,16 @@ |
||||
<component name="ProjectRunConfigurationManager"> |
||||
<configuration default="false" name="2.2 Ticket" type="Application" factoryName="Application"> |
||||
<option name="MAIN_CLASS_NAME" value="net.lensfrex.Main" /> |
||||
<module name="exp2-thread" /> |
||||
<option name="PROGRAM_PARAMETERS" value="2" /> |
||||
<extension name="coverage"> |
||||
<pattern> |
||||
<option name="PATTERN" value="net.lensfrex.URLConnectionResource" /> |
||||
<option name="ENABLED" value="true" /> |
||||
</pattern> |
||||
</extension> |
||||
<method v="2"> |
||||
<option name="Make" enabled="true" /> |
||||
</method> |
||||
</configuration> |
||||
</component> |
@ -0,0 +1,16 @@ |
||||
<component name="ProjectRunConfigurationManager"> |
||||
<configuration default="false" name="3.1 Socket - Client" type="Application" factoryName="Application" singleton="false"> |
||||
<option name="MAIN_CLASS_NAME" value="net.lensfrex.Main" /> |
||||
<module name="exp3-network" /> |
||||
<option name="PROGRAM_PARAMETERS" value="1client" /> |
||||
<extension name="coverage"> |
||||
<pattern> |
||||
<option name="PATTERN" value="net.lensfrex.socket.server.*" /> |
||||
<option name="ENABLED" value="true" /> |
||||
</pattern> |
||||
</extension> |
||||
<method v="2"> |
||||
<option name="Make" enabled="true" /> |
||||
</method> |
||||
</configuration> |
||||
</component> |
@ -0,0 +1,16 @@ |
||||
<component name="ProjectRunConfigurationManager"> |
||||
<configuration default="false" name="3.1 Socket - Server" type="Application" factoryName="Application"> |
||||
<option name="MAIN_CLASS_NAME" value="net.lensfrex.Main" /> |
||||
<module name="exp3-network" /> |
||||
<option name="PROGRAM_PARAMETERS" value="1server" /> |
||||
<extension name="coverage"> |
||||
<pattern> |
||||
<option name="PATTERN" value="net.lensfrex.URLConnectionResource" /> |
||||
<option name="ENABLED" value="true" /> |
||||
</pattern> |
||||
</extension> |
||||
<method v="2"> |
||||
<option name="Make" enabled="true" /> |
||||
</method> |
||||
</configuration> |
||||
</component> |
@ -0,0 +1,16 @@ |
||||
<component name="ProjectRunConfigurationManager"> |
||||
<configuration default="false" name="3.2 URLConnection" type="Application" factoryName="Application"> |
||||
<option name="MAIN_CLASS_NAME" value="net.lensfrex.Main" /> |
||||
<module name="exp3-network" /> |
||||
<option name="PROGRAM_PARAMETERS" value="2" /> |
||||
<extension name="coverage"> |
||||
<pattern> |
||||
<option name="PATTERN" value="net.lensfrex.URLConnectionResource" /> |
||||
<option name="ENABLED" value="true" /> |
||||
</pattern> |
||||
</extension> |
||||
<method v="2"> |
||||
<option name="Make" enabled="true" /> |
||||
</method> |
||||
</configuration> |
||||
</component> |
@ -0,0 +1,35 @@ |
||||
# Java 上机报告 |
||||
|
||||
这里的是某人的三个Java上机报告源程序,分别为: |
||||
- 继承、抽象类、接口和多态[exp1-oop](https://git.ciduid.top/lensfrex/java-lesson/src/branch/main/exp1-oop/) |
||||
- 多线程及其同步[exp2-thread](https://git.ciduid.top/lensfrex/java-lesson/src/branch/main/exp2-thread/) |
||||
- TCP/UDP和URLConnction的网络[exp3-network](https://git.ciduid.top/lensfrex/java-lesson/src/branch/main/exp3-network/) |
||||
|
||||
项目结构使用Maven管理,Java版本使用Java 8 |
||||
.run文件夹是idea的运行配置,使用这些配置能够更方便的在idea进行测试运行 |
||||
|
||||
如需手动运行,可以在运行时传入一个参数,指明想要运行的是哪个上机内容,其实不提供也行,可以按照提示手动输入。 |
||||
|
||||
已经打包好的jar程序可在[release](https://git.ciduid.top/lensfrex/java-lesson/src/branch/main/releases)上获取 |
||||
|
||||
项目结构: |
||||
|
||||
<details> |
||||
<summary>展开</summary> |
||||
|
||||
- 继承、抽象类、接口和多态[exp1-oop](/lensfrex/java-lesson/exp1-oop/) |
||||
|
||||
![](https://git.ciduid.top/lensfrex/java-lesson/raw/branch/main/img/1_.png) |
||||
|
||||
- 多线程及其同步[exp2-thread](/lensfrex/java-lesson/exp2-thread/) |
||||
|
||||
![](https://git.ciduid.top/lensfrex/java-lesson/raw/branch/main/img/2_.png) |
||||
|
||||
- TCP/UDP和URLConnction的网络[exp3-network](/lensfrex/java-lesson/exp3-network/) |
||||
|
||||
![](https://git.ciduid.top/lensfrex/java-lesson/raw/branch/main/img/3_.png) |
||||
|
||||
</details> |
||||
|
||||
|
||||
就先这样吧 |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 6.6 KiB |
Loading…
Reference in new issue