Java Object Type Case castInttoLong(int x)

Here you can find the source of castInttoLong(int x)

Description

cast Intto Long

License

Open Source License

Declaration

public static long castInttoLong(int x) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static long castInttoLong(int x) {
        return x & 0x00000000ffffffffL;
    }//  w  w w.j  av  a 2s  . c  o  m
}

Related

  1. castEnum(T from, U[] to)
  2. castForRegex(String textContent)
  3. castingNum(double n)
  4. castingUtil(String value, Class classCasting)
  5. castInstance(Object o, Class clazz)
  6. castNode(Class jsonNode, Class classz)
  7. castNonNullArray( T [] arr)
  8. castNullableParameterTo(String parameterName, T value, Class requiredType)
  9. castNumber(Number num, Class clazz)