我有一个包含用户信息数组的 ArrayList(约 900 个条目):
[swaschit, Sophia Waschitz, Dormant, Inactive, 1/1/2018]
[kolanday, Kyle Olanday, Dormant, Inactive, 1/1/2018]
[npowers, Neil Powers, Assigned, Active, 2/11/2018]
我想从此列表中生成一个数组,该数组仅包含每个对象的第一个元素:
[swaschit, kolanday, npowers, ...]
这样做最有效的方法是什么?
慕哥9229398
MMTTMM
小唯快跑啊
偶然的你
斯蒂芬大帝
随时随地看视频慕课网APP
相关分类