当前位置:网站首页>List < long >, list < integer > convert each other
List < long >, list < integer > convert each other
2022-07-28 05:29:00 【wang0112233】
Integer turn Long
List<Long> listLong = JSONArray.parseArray(listInt.toString(),Long.class);Long turn Integer
//list<Long> turn list<Integer>
List<Integer> integerList = JSONArray.parseArray(LongList.toString(), Integer.class);String turn List<String>
String[] split = ctrDO.getTypeLimit().split(",");
List<String> regularList = Arrays.asList(split);String turn Long
List<Long>=stringList.stream().map(Long::valueOf).collect(Collectors.toList());Long turn String
List<String>=longList.stream().map(String::valueOf).collect(Collectors.toList());
边栏推荐
- First acquaintance with C language (1)
- regular expression
- PC端-bug记录
- Test Development - UI testing in automated testing
- [computer level 3 information security] overview of information security assurance
- JSON in JS (launch object deep copy)
- What are the methods of array objects in Es5 and what are the new methods in ES6
- mysql的日期与时间函数,varchar与date相互转换
- Scanf function of input and output function in C language
- SMD component size metric English system corresponding description
猜你喜欢

在ruoyi生成的对应数据库的代码 之后我该怎么做才能做出下边图片的样子

这种动态规划你见过吗——状态机动态规划之股票问题(中)

mysql的日期与时间函数,varchar与date相互转换

How does Alibaba use DDD to split microservices?

【ARXIV2204】Vision Transformers for Single Image Dehazing

restFul接口使用个人总结

ByteBuffer.position 抛出异常 IllegalArgumentException

From the basic concept of micro services to core components - explain and analyze through an example

Bean的作用域、执行流程、生命周期

Digital twin solutions inject new momentum into the construction of chemical parks
随机推荐
FreeRTOS个人笔记-任务通知
【ARXIV2203】Efficient Long-Range Attention Network for Image Super-resolution
regular expression
正则表达式
在ruoyi生成的对应数据库的代码 之后我该怎么做才能做出下边图片的样子
ES6 new variable modifiers let and const, new basic data type symbol
导出excel,生成多个sheet页,并命名
接口幂等性问题
Scope, execution process and life cycle of bean
【ARXIV2205】Inception Transformer
ArrayList多线程安全解决办法
21 day SQL punch in summary
Database date types are all 0
[slam] lvi-sam analysis - Overview
oracle查看锁表语句、解锁方法
About MySQL group_ What concat has to say
Antd setfieldsvalue warning problem cannot use 'setfieldsvalue' until you use 'getfielddecorator' or
How does Alibaba use DDD to split microservices?
CPU and memory usage are too high. How to modify RTSP round robin detection parameters to reduce server consumption?
【SLAM】LVI-SAM解析——综述