From f98a362aef40a074f8535789ed240ed870c41bc3 Mon Sep 17 00:00:00 2001 From: bai <173792339@qq.com> Date: Thu, 8 Aug 2024 09:44:11 +0800 Subject: [PATCH] =?UTF-8?q?19=E6=97=A5=E8=80=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 38 ++++++++++++++++++++ .idea/.gitignore | 8 +++++ .idea/encodings.xml | 7 ++++ .idea/inspectionProfiles/Project_Default.xml | 6 ++++ .idea/misc.xml | 14 ++++++++ .idea/vcs.xml | 6 ++++ pom.xml | 17 +++++++++ src/main/java/com/bwie/Main.java | 15 ++++++++ src/main/java/com/bwie/Student.java | 17 +++++++++ 9 files changed, 128 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.gitignore create mode 100644 .idea/encodings.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/vcs.xml create mode 100644 pom.xml create mode 100644 src/main/java/com/bwie/Main.java create mode 100644 src/main/java/com/bwie/Student.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..35410ca --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..aa00ffa --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..c32584c --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..132404b --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..d912ed4 --- /dev/null +++ b/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + com.bwie + ria_19 + 1.0-SNAPSHOT + + + 17 + 17 + UTF-8 + + + diff --git a/src/main/java/com/bwie/Main.java b/src/main/java/com/bwie/Main.java new file mode 100644 index 0000000..720629b --- /dev/null +++ b/src/main/java/com/bwie/Main.java @@ -0,0 +1,15 @@ +package com.bwie; + +import java.util.ArrayList; + +public class Main { + public static void main(String[] args) { + Student student = new Student(1,"名字1","数学",100); + Student student2 = new Student(2,"名字2","数学",100); + Student student3 = new Student(3,"名字3","英语",100); + Student student4 = new Student(4,"名字4","语文",100); + Student student5 = new Student(5,"名字5","地理",100); + ArrayList arrayList = new ArrayList(); + arrayList.add(student2); + } +} diff --git a/src/main/java/com/bwie/Student.java b/src/main/java/com/bwie/Student.java new file mode 100644 index 0000000..14de38f --- /dev/null +++ b/src/main/java/com/bwie/Student.java @@ -0,0 +1,17 @@ +package com.bwie; + + + +public class Student { + private Integer sssss; + private String name; + private String type; + private Integer scope; + + public Student(java.lang.Integer sssss, String name, String type, Integer scope) { + this.sssss = sssss; + this.name = name; + this.type = type; + this.scope = scope; + } +}