Integer Turn to LONG Type data Hydra

2023-01-30   ES  

Intege data has a longvalue () function, which can be converted into the data of the Long type

code is as follows:

public static void main(String args[]) {

        Integer a = 1;
        long b = a.longValue();
        List<Integer> aList=new ArrayList<>();
        Integer a1 = 2;
        Integer a2 = 3;
        List<Long> bList = new ArrayList<>();>{

            long temp = item.longValue();            

Run results:

[1, 2, 3]


Random Posts

One Activity loads multiple layout layout files respectively

elasticse error-Bootstrap Checks Failed

Use Supervisor to manage the SWOFT process

Randomly select one Public # ls | shuf -n1 Videos # ls | shuf -n1 Templates # ls | shuf -n1 Downloads

WeChat Mini Program-SWIPER picture is incomplete