当前位置:   article > 正文

JavaSE基础:泛型

java例如:给张三的 chinese 赋值为 70,math 赋值为 80,english 赋值为 90,那么 ge

泛型

1.引入

情景模式描述,假设完成一个学生的成绩的情况:

  • 整数: math=80,english=70
  • 小数: math=85.6,englisth=77.8
  • 字符串: math="66分",english="90.5分"

那么我们应该如何处理呢?我们需要设计的成员变量可以接收不同的数据类型,我们第一想到的是Object类

定义Student类,使用Object类型

  1. package com.shxt.demo01;
  2. public class Student {
  3. private Object math;
  4. private Object english;
  5. public Student(Object math, Object english) {
  6. this.math = math;
  7. this.english = english;
  8. }
  9. public Object getMath() {
  10. return math;
  11. }
  12. public void setMath(Object math) {
  13. this.math = math;
  14. }
  15. public Object getEnglish() {
  16. return english;
  17. }
  18. public void setEnglish(Object english) {
  19. this.english = english;
  20. }
  21. }
  22. 复制代码

示例1:设置整型, int → 自动装箱(Integer) → 对象上转型Object

  1. package com.shxt.demo01;
  2. public class Demo01 {
  3. public static void main(String[] args) {
  4. Student student = new Student(80,70); //实例化对象并且对数据初始化
  5. //请注意这种强制只有在JDK7以后才能使用
  6. int math = (int) student.getMath();
  7. //JDK7以下的标准写法
  8. int english = (Integer) student.getEnglish();// Object -> Integer->自动拆箱
  9. System.out.println("数学成绩:"+math+",英语成绩:"+english);
  10. }
  11. }
  12. 复制代码

示例2:设置小数, double → 自动装箱(Double) → 对象上转型Object

  1. package com.shxt.demo01;
  2. public class Demo02 {
  3. public static void main(String[] args) {
  4. Student student = new Student(80.7,77.8); //实例化对象并且对数据初始化
  5. //请注意这种强制只有在JDK7以后才能使用
  6. double math = (double) student.getMath();
  7. //JDK7以下的标准写法
  8. double english = (Double) student.getEnglish();// Object -> Double->自动拆箱
  9. System.out.println("数学成绩:"+math+",英语成绩:"+english);
  10. }
  11. }
  12. 复制代码

示例3:设置字符串, 字符串 → 对象上转型Object

  1. package com.shxt.demo01;
  2. public class Demo03 {
  3. public static void main(String[] args) {
  4. Student student = new Student("66分","90.5分"); //实例化对象并且对数据初始化
  5. String math = (String) student.getMath();
  6. String english = (String) student.getEnglish();// Object -> String
  7. System.out.println("数学成绩:"+math+",英语成绩:"+english);
  8. }
  9. }
  10. 复制代码

代码分析:

上述的三个测试,我们感觉程序应该没有什么大的问题了,真的没有问题了吗? 请关注下面的测试


示例4:设置整数和字符串,并且转换为字符串的操作过程

  1. package com.shxt.demo01;
  2. public class Demo04 {
  3. public static void main(String[] args) {
  4. Student student = new Student(80,"66分"); //实例化对象并且对数据初始化
  5. String math = (String) student.getMath();
  6. String english = (String) student.getEnglish();
  7. System.out.println("数学成绩:"+math+",英语成绩:"+english);
  8. }
  9. }
  10. 复制代码

代码分析: 类型转换错误

Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

​ at com.shxt.demo01.Demo04.main(Demo04.java:7

说明我们上述的代码是存在安全隐患的,数据没有达到统一,我们可以通过判断改进代码,这个不符合我们的要求

判断数据的类型instanceof

  1. package com.shxt.demo01;
  2. public class Demo05 {
  3. public static void main(String[] args) {
  4. Student student = new Student(80,"66分"); //实例化对象并且对数据初始化
  5. String math = null;
  6. if(student.getMath() instanceof Integer){
  7. math = String.valueOf(student.getMath());
  8. }
  9. String english = (String) student.getEnglish();
  10. System.out.println("数学成绩:"+math+",英语成绩:"+english);
  11. }
  12. }
  13. 复制代码

对数据这样繁琐的判断我们是不想看到的,我们可以通过泛型解决问题

2.初识泛型

  • 概念:泛型就是参数化类型,使用广泛的类型
  • 起因:数据类型不明确
    • 装入数据的类型都被当作Object类型,从而"丢失"了自己实际的类型
    • 获取数据时往往需要转型,效率低,容易产生错误
  • 作用:
    • 安全: 在编译的时候检查数据类型的安全
    • 省心: 所有的强制转换都是自动和隐式的,提高代码的重用率

如何定义泛型?在定义类使用泛型

  • 定义格式,使用<>符号

    1. class 类名<字母列表>{
    2. 修改符 字母 属性 ;
    3. 修饰符 构造函数(字母 参数名){
    4. }
    5. 修饰符 返回类型 方法(字母 参数名){
    6. }
    7. }
    8. 复制代码
  • 修改Student类如下

    1. package com.shxt.demo02;
    2. public class Student<T> {
    3. private T math;
    4. private T english;
    5. public Student(T math, T english) {
    6. this.math = math;
    7. this.english = english;
    8. }
    9. public T getMath() {
    10. return math;
    11. }
    12. public void setMath(T math) {
    13. this.math = math;
    14. }
    15. public T getEnglish() {
    16. return english;
    17. }
    18. public void setEnglish(T english) {
    19. this.english = english;
    20. }
    21. }
    22. 复制代码
  • 泛型中常见的字母列表说明

    • T → Type表示类型
    • K,V → 代表键值中的Key和value
    • E → 代表Element
    • N → 代表Number数字
    • ? → 表示不确定性
  • 泛型的使用规则

    • 不能使用静态属性和静态方法上
    • 使用的时候需要指定数据类型
      • 编译时会检查数据的类型
      • 获取数据不再需要强制类型转换
    • 泛型使用是不能指定基本数据类型,只能使用起对应的包装类

示例1:设置统一的数据Float类型

  1. package com.shxt.demo02;
  2. public class Demo01 {
  3. public static void main(String[] args) {
  4. Student<Float> student = new Student<Float>(80.7F,77.8F);
  5. //获取数据不再需要强制类型转换,完成了数据的统一
  6. Float math = student.getMath();
  7. Float english = student.getEnglish();
  8. System.out.println("数学成绩:"+math+",英语成绩:"+english);
  9. }
  10. }
  11. 复制代码

3.泛型的使用

(1) 泛型类

对于学生的分数,我们可能需要多样的数据类型,那么我们可以设置多个泛型,代码修改属性

  1. package com.shxt.demo03;
  2. public class Student<T1,T2> {
  3. private T1 math;
  4. private T2 english;
  5. public Student(T1 math, T2 english) {
  6. this.math = math;
  7. this.english = english;
  8. }
  9. public T1 getMath() {
  10. return math;
  11. }
  12. public void setMath(T1 math) {
  13. this.math = math;
  14. }
  15. public T2 getEnglish() {
  16. return english;
  17. }
  18. public void setEnglish(T2 english) {
  19. this.english = english;
  20. }
  21. }
  22. 复制代码

示例1:设置整型和字符串

  1. package com.shxt.demo03;
  2. public class Demo01 {
  3. public static void main(String[] args) {
  4. Student<Integer,String> student = new Student<Integer,String>(80,"99分");
  5. int math = student.getMath();
  6. String english = student.getEnglish();
  7. System.out.println("数学成绩:"+math+",英语成绩:"+english);
  8. }
  9. }
  10. 复制代码

(2) 泛型接口

使用泛型定义接口我们称之为泛型接口,因为接口中只能有抽象方法和静态的公共常量(不能使用泛型修饰)

  1. interface Info<T>{ // 在接口上定义泛型
  2. public T getVar() ; // 定义抽象方法,抽象方法的返回值就是泛型类型
  3. public void setVar(T x);
  4. }
  5. 复制代码

####A.非泛型接口

但是在使用的时候,就出现问题了,我们先看看下面这个使用方法:

  1. class InfoImpl implements Info<String>{ // 定义泛型接口的子类
  2. private String var ; // 定义属性
  3. public InfoImpl(String var){ // 通过构造方法设置属性内容
  4. this.setVar(var) ;
  5. }
  6. @Override
  7. public void setVar(String var){
  8. this.var = var ;
  9. }
  10. @Override
  11. public String getVar(){
  12. return this.var ;
  13. }
  14. }
  15. public class Demo01{
  16. public void main(String arsg[]){
  17. InfoImpl i = new InfoImpl("hanpang");
  18. System.out.println(i.getVar()) ;
  19. }
  20. };
  21. 复制代码

代码分析:

先看InfoImpl的定义:

  1. class InfoImpl implements Info<String>{
  2. …………
  3. }
  4. 要清楚的一点是InfoImpl不是一个泛型类!因为他类名后没有<T>!
  5. 复制代码

####B.泛型接口

在非泛型接口中,我们在类中直接把Info<T>接口给填充好了,但我们的类,是可以构造成泛型类的,那我们利用泛型类来构造填充泛型接口会是怎样呢?

  1. interface Info<T>{ // 在接口上定义泛型
  2. public T getVar() ; // 定义抽象方法,抽象方法的返回值就是泛型类型
  3. public void setVar(T var);
  4. }
  5. class InfoImpl<T> implements Info<T>{ // 定义泛型接口的子类
  6. private T var ; // 定义属性
  7. public InfoImpl(T var){ // 通过构造方法设置属性内容
  8. this.setVar(var) ;
  9. }
  10. public void setVar(T var){
  11. this.var = var ;
  12. }
  13. public T getVar(){
  14. return this.var ;
  15. }
  16. }
  17. public class Demo01{
  18. public static void main(String arsg[]){
  19. InfoImpl<String> i = new InfoImpl<String>("harvic");
  20. System.out.println(i.getVar()) ;
  21. }
  22. };
  23. 复制代码

代码分析:

在这个类中,我们构造了一个泛型类InfoImpl,然后把泛型变量T传给了Info,这说明接口和泛型类使用的都是同一个泛型变量。然后在使用时,就是构造一个泛型类的实例的过程,使用过程也不变。

使用泛型类来继承泛型接口的作用就是让用户来定义接口所使用的变量类型,而不是像方法一那样,在类中写死。

那我们稍微加深点难度,构造一个多个泛型变量的类,并继承自Info接口:

  1. class InfoImpl<T,K,U> implements Info<U>{ // 定义泛型接口的子类
  2. private U var ;
  3. private T x;
  4. private K y;
  5. public InfoImpl(U var){ // 通过构造方法设置属性内容
  6. this.setVar(var) ;
  7. }
  8. public void setVar(U var){
  9. this.var = var ;
  10. }
  11. public U getVar(){
  12. return this.var ;
  13. }
  14. }
  15. 复制代码

在这个例子中,我们在泛型类中定义三个泛型变量T,K,U并且把第三个泛型变量U用来填充接口Info。所以在这个例子中Info所使用的类型就是由U来决定的。 使用时是这样的:泛型类的基本用法,不再多讲,代码如下:

  1. public class Demo01{
  2. public void main(String arsg[]){
  3. InfoImpl<Integer,Double,String> i = new InfoImpl<Integer,Double,String>("harvic");
  4. System.out.println(i.getVar()) ;
  5. }
  6. }
  7. 复制代码

###(3) 泛型方法

只能访问对象的信息,不能修改对象的信息

讲解了类和接口的泛型使用,下面我们再说说,怎么单独在一个函数里使用泛型。比如我们在新建一个普通的类StaticFans,然后在其中定义了两个泛型函数:

  1. package com.shxt.demo03;
  2. public class StaticFans {
  3. //静态函数
  4. public static <T> void staticMethod(T a){
  5. System.out.println("静态方法: "+a.toString());
  6. }
  7. //普通函数
  8. public <T> void otherMethod(T a){
  9. System.out.println("普通函数,无返回值: "+a.toString());
  10. }
  11. public <T> T returnOtherMethod(T a){
  12. System.out.println("返回泛型类型:"+a);
  13. return a;
  14. }
  15. }
  16. 复制代码

测试代码:

  1. public class Demo01 {
  2. public static void main(String[] args) {
  3. StaticFans.staticMethod(100);
  4. StaticFans.<String>staticMethod("悟空");
  5. //常规方法
  6. StaticFans sf = new StaticFans();
  7. sf.otherMethod(999F);
  8. sf.<Double>otherMethod(100.1);
  9. //返回值中存在泛型
  10. sf.returnOtherMethod("八戒");
  11. sf.<Integer>returnOtherMethod(999);
  12. }
  13. }
  14. 复制代码

代码说明:

方法一,隐式传递了T的类型,与上面一样,不建议这么做。 方法二,显示将T赋值为Integer类型,这样OtherMethod(T a)传递过来的参数如果不是Integer那么编译器就会报错。

(4) 泛型数组

在写程序时,大家可能会遇到类似String[] list = new String[8];的需求,这里可以定义String数组,当然我们也可以定义泛型数组,泛型数组的定义方法为 T[],与String[]是一致的,下面看看用法:

  • 没有泛型数组,不能创建泛型数组
  • 可以只有声明,可以使用 ?
  1. //定义
  2. public static <T> T[] fun1(T...arg){ // 接收可变参数
  3. return arg ; // 返回泛型数组
  4. }
  5. //使用
  6. public static void main(String args[]){
  7. Integer i[] = fun1(1,2,3,4,5,6) ;
  8. Integer[] result = fun1(i) ;
  9. }
  10. 复制代码

4.泛型的擦除规则

我们上面的讲述过程中可以看出来可以使用子类或者实现类实现泛型,那么它们之间需要遵循一定的使用规则:

  • 子类与父类(接口)一样使用泛型
  • 子类指定具体的类型
  • 子类与父类(接口)同时擦除泛型类型
  • 子类使用泛型,而父类(接口)擦除泛型类型
  • 注意错误: 不能子类擦除,而父类(接口)使用泛型

擦除后统一使用Object对象泛型

继承演示规则过程

  1. package com.shxt.demo04;
  2. /**
  3. * 父类为泛型类
  4. * 1.属性
  5. * 2.方法
  6. *
  7. * 1.要么同时擦除,要么子类大于等于父类的类型(泛型的个数)
  8. * 2.不能子类擦除,父类泛型
  9. * A.属性类型
  10. * 父类随父类而定
  11. * 子类随子类而定
  12. * B.方法重写:
  13. * 随父类而定
  14. */
  15. public abstract class Father<T> {
  16. protected T name;
  17. public abstract void test01(T t);
  18. }
  19. /**
  20. * 子类声明时指定了具体类型Father<String>
  21. * 属性类型为具体类型
  22. * 方法类型为具体类型
  23. */
  24. class Child01 extends Father<String>{
  25. String name;
  26. @Override
  27. public void test01(String s) {
  28. }
  29. }
  30. /**
  31. * 子类为泛型类,需要跟父类保持一致
  32. * 规则可以大于等于父类的类型
  33. */
  34. class Child02<T> extends Father<T>{
  35. T name;
  36. @Override
  37. public void test01(T t) {
  38. }
  39. }
  40. /**
  41. * 子类为泛型类,父类不指定类型,
  42. * 这个就是泛型擦除,使用Object替换
  43. * @param <T>
  44. */
  45. class Child03<T> extends Father{
  46. T name;
  47. @Override
  48. public void test01(Object o) {
  49. }
  50. }
  51. /**
  52. * 子类与父类同时擦除
  53. */
  54. class Child04 extends Father{
  55. String name;
  56. @Override
  57. public void test01(Object o) {
  58. }
  59. }
  60. /**
  61. * 错误:子类擦除,父类使用泛型
  62. */
  63. class Child05 extends Father<T>{
  64. String name;
  65. @Override
  66. public void test01(T o) {
  67. }
  68. }
  69. 复制代码

接口演示规则过程

  1. package com.shxt.demo04;
  2. public interface Comparable<T> {
  3. void compare(T t);
  4. }
  5. //声明子类,指定具体类型
  6. class Comp00 implements Comparable<String>{
  7. @Override
  8. public void compare(String s) {
  9. }
  10. }
  11. //子类与父类同时擦除,使用Object
  12. class Comp01 implements Comparable{
  13. @Override
  14. public void compare(Object o) {
  15. }
  16. }
  17. //子类泛型,父类擦除
  18. class Comp02<T> implements Comparable{
  19. @Override
  20. public void compare(Object o) {
  21. }
  22. }
  23. //子类泛型>=父类泛型
  24. class Comp03<T,U> implements Comparable<T>{
  25. @Override
  26. public void compare(T t) {
  27. }
  28. }
  29. //错误代码,父类泛型,子类擦除
  30. 复制代码

5.通配符

通配符:? extends super

  • ?类型不定,使用时确定类型
  • 可以用在声明类型以及声明方法参数上,不能用在声明类上
  • ? 可以接收泛型的任意类型,只能接收和查看,不能修改
  • ? extends 泛型上限 <=
  • ? super 泛型下限 >=

###(1) 匹配任意类型的通配符

示例1:使用泛型传递数据

  1. package com.shxt.demo05;
  2. public class Demo01 {
  3. public static void main(String[] args) {
  4. Student<String> student = new Student<String>();//指定String为泛型
  5. student.setName("胖先森"); //设置数据
  6. //传递数据
  7. test01(student); // 错误,无法传递数据
  8. }
  9. public static void test01(Student<Object> temp){// 此处可以接收 Object 泛型类型的Student对象
  10. System.out.println("内容:"+temp);
  11. }
  12. }
  13. class Student<T>{
  14. private T name;
  15. public T getName() {
  16. return name;
  17. }
  18. public void setName(T name) {
  19. this.name = name;
  20. }
  21. @Override
  22. public String toString() {
  23. return "Student{" +
  24. "name=" + name +
  25. '}';
  26. }
  27. }
  28. 复制代码

程序编译错误:

  1. Error:(8, 16) java: 不兼容的类型: com.shxt.demo05.Student<java.lang.String>无法转换为com.shxt.demo05.Student<java.lang.Object>
  2. 复制代码

代码分析:

程序中尽管String是Object类的子类,但是在进行引用数据传递时也是同样无法进行操作,如果此时想让程序正常执行,可以将test01()方法中的定义的Student修改为Student,即不指定泛型

代码修改,编译通过

  1. public class Demo01 {
  2. public static void main(String[] args) {
  3. Student<String> student = new Student<String>();//指定String为泛型
  4. student.setName("胖先森"); //设置数据
  5. //传递数据
  6. test01(student); // 错误,无法传递数据
  7. }
  8. public static void test01(Student temp){// 此处可以接收Student对象
  9. System.out.println("内容:"+temp);
  10. }
  11. }
  12. 复制代码

代码分析:

程序编译时不会出现任何的错误,也可以正常使用,但是编写test01()方法时Student中并没有指定任何的泛型类型,这样做有一些不妥当,所以为了解决这个问题,Java中引入了通配符"?",表示可以接收此类型的任意泛型对象(不能使用在定义类上)

使用通配符"?"修改代码

  1. public class Demo01 {
  2. public static void main(String[] args) {
  3. Student<String> student = new Student<String>();//指定String为泛型
  4. student.setName("胖先森"); //设置数据
  5. //传递数据
  6. test01(student);
  7. }
  8. public static void test01(Student<?> temp){// 此处可以接收Student对象
  9. System.out.println("内容:"+temp);
  10. }
  11. }
  12. 复制代码

(2) 受限泛型

在引用传递中,在泛型操作中也可以设置一个泛型对象的范围上限和范围下限.

  • 上限通配符:使用extends关键字,表示这个类型必须是继承某个类或者实现某个接口,也可以是这个类或接口本身

    • 声明对象格式:

      1. 类名称<? extends 类> 对象名称
      2. 复制代码
    • 定义类格式:

      1. [访问权限] 类名称<泛型标识 extends 类>{}
      2. 复制代码

  • 下限通配符:使用super关键字,表示这个类型必须是是某个类的父类或者是某个接口的父接口,也可以是这个类或接口本身

    • 声明对象格式:

      1. 类名称<? super 类> 对象名称
      2. 复制代码
    • 定义类格式:

      1. [访问权限] 类名称<泛型标识 super 类>{}
      2. 复制代码

上限通配符

假设一个方法中只能接收的泛型对象是数组(Byte/Short/Integer/Long/Float/Double)类型,此时在定义方法参数接收对象时,就必须指定泛型的上限,之前将包装类的时候我们说过Number类是数字的父类

示例1:方法定义,只能接收泛型为Number或者Number类型的子类

  1. package com.shxt.demo06;
  2. public class Demo01 {
  3. public static void main(String[] args) {
  4. Student<Integer> s1 = new Student<Integer>(); //声明Integer的泛型对象
  5. s1.setName(999); // 设置整数,自动装箱
  6. test01(s1); // 继承了Number类,符合规范
  7. Student<Float> s2 = new Student<Float>(); //声明Float的泛型对象
  8. s2.setName(888.99F);// 设置小数,自动装箱
  9. test01(s2);// 继承了Number类,符合规范
  10. Student<Boolean> s3 = new Student<Boolean>();//声明Boolean的泛型对象
  11. s3.setName(true);// 设置布尔,自动装箱
  12. test01(s3);//继承了Object,没有继承Number,错误!错误!错误!
  13. Student<String> s4 = new Student<String>();//声明String的泛型对象
  14. s4.setName("悟空");
  15. test01(s4);//继承了Object,没有继承Number,错误!错误!错误!
  16. }
  17. // 接收student对象,范围的上限设置为Number,只能接收数字类型
  18. public static void test01(Student<? extends Number> temp){
  19. System.out.println("temp=>"+temp);
  20. }
  21. }
  22. class Student<T>{
  23. private T name;
  24. public T getName() {
  25. return name;
  26. }
  27. public void setName(T name) {
  28. this.name = name;
  29. }
  30. @Override
  31. public String toString() {
  32. return "Student{" +
  33. "name=" + name +
  34. '}';
  35. }
  36. }
  37. 复制代码

示例2:类定义,只能接收泛型为Number或者Number类型的子类

  1. package com.shxt.demo06;
  2. public class Demo01 {
  3. public static void main(String[] args) {
  4. Student<Integer> s1 = new Student<Integer>(); //声明Integer的泛型对象
  5. s1.setName(999); // 设置整数,自动装箱
  6. test01(s1); // 继承了Number类,符合规范
  7. Student<Float> s2 = new Student<Float>(); //声明Float的泛型对象
  8. s2.setName(888.99F);// 设置小数,自动装箱
  9. test01(s2);// 继承了Number类,符合规范
  10. Student<Boolean> s3 = new Student<Boolean>();//Boolean不是Number的子类,无法声明
  11. Student<String> s4 = new Student<String>();//String不是Number的子类,无法声明
  12. }
  13. // 接收student对象,范围的上限设置为Number,只能接收数字类型
  14. public static void test01(Student<?> temp){
  15. System.out.println("temp=>"+temp);
  16. }
  17. }
  18. class Student<T extends Number>{ // 泛型只能是数字类型
  19. private T name; // 此变量的类型由外部决定
  20. // 返回值的类型由外部指定
  21. public T getName() {
  22. return name;
  23. }
  24. // 设置的类型由外部决定
  25. public void setName(T name) {
  26. this.name = name;
  27. }
  28. @Override
  29. public String toString() {
  30. return "Student{" +
  31. "name=" + name +
  32. '}';
  33. }
  34. }
  35. 复制代码
下限通配符
  1. package com.shxt.demo06;
  2. public class Demo01 {
  3. public static void main(String[] args) {
  4. Student<Integer> s1 = new Student<Integer>(); //声明Integer的泛型对象
  5. s1.setName(999); // 设置整数,自动装箱
  6. test01(s1); // 不是String的父类,错误
  7. Student<Boolean> s2 = new Student<Boolean>();//声明Boolean的泛型对象
  8. s2.setName(true);
  9. test01(s2); // 不是String的父类,错误
  10. Student<String> s3 = new Student<String>();
  11. s3.setName("悟空");
  12. test01(s3); // 满足下限的范围
  13. Student<Object> s4 = new Student<Object>();
  14. s4.setName("悟空");
  15. test01(s4); // 满足下限的范围
  16. }
  17. // 接收student对象,范围的下限设置为String,只能接收String或者Object
  18. public static void test01(Student<? super String> temp){
  19. System.out.println("temp=>"+temp);
  20. }
  21. }
  22. class Student<T>{ // 泛型只能是数字类型
  23. private T name; // 此变量的类型由外部决定
  24. // 返回值的类型由外部指定
  25. public T getName() {
  26. return name;
  27. }
  28. // 设置的类型由外部决定
  29. public void setName(T name) {
  30. this.name = name;
  31. }
  32. @Override
  33. public String toString() {
  34. return "Student{" +
  35. "name=" + name +
  36. '}';
  37. }
  38. }
  39. 复制代码

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/260686
推荐阅读
相关标签
  

闽ICP备14008679号