Converting List> to Array>

后端 未结 3 1356
抹茶落季
抹茶落季 2021-01-26 08:41

I am writing a method which converts Integer data type from a List of lists, to a primitive type \"int\" of \"array of array\".

Question

<
3条回答
  •  情歌与酒
    2021-01-26 09:23

    I think you don't need API to convert Integer to int. Just because Integer itself has its own method. Let's see following example

    Integer integerObj = new Integer(100);
    int intValue = integerObj.intValue();     // intValue = 100
    

提交回复
热议问题