当前位置:网站首页>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());
边栏推荐
- MySQL date and time function, varchar and date are mutually converted
- Response < t > class
- lamda 获取当前循环数,AtomicInteger
- How to successfully test php7.1 connecting to sqlserver2008r2
- C language: addition and deletion of linked list in structure
- Class class added in ES6
- Interpretation of afnetworking4.0 request principle
- MySQL practice 45 lectures
- 【SLAM】LVI-SAM解析——综述
- Mysql数据库索引(innodb引擎)
猜你喜欢
随机推荐
Jsonp single sign on permission verification
Bean的作用域、执行流程、生命周期
Classes and objects [medium]
I interviewed a 38 year old programmer and refused to work overtime
How should programmers keep warm when winter is coming
Using RAC to realize the sending logic of verification code
Making RPM packages with nfpm
Performance test classification
block yandex bot
多系统架构设计思考
注册中心服务eureka 切换到 nocas遇到的问题
DELL远程控制卡 使用ipmitools设置ipmi
多线程进阶:锁的策略
Tomato timing dimming table lamp touch chip-dlt8t10s-jericho
凛冬已至,程序员该怎么取暖
架构设计思考之一(SSO设计)
How about ink cloud?
【ARIXV2204】Neighborhood attention transformer
Scanf function of input and output function in C language
Non functional test








