Type of List to Store Multipe Data Types

前端 未结 3 1737
情话喂你
情话喂你 2021-01-13 21:22

So my problem is that I\'ve written a function that takes two Doubles, two Int, and a Calendar object on Android (Java). I believe the class provided to allow it to run in a

3条回答
  •  情歌与酒
    2021-01-13 21:51

    The least complicated method would be to have the list be of type Object and store the items in a List that way.

提交回复
热议问题