Here you can find the source of convertIntToLong(Integer intId)
Parameter | Description |
---|---|
intId | a parameter |
public static Long convertIntToLong(Integer intId)
//package com.java2s; // Licensed under the Apache License, Version 2.0 (the "License"); you may public class Main { /**/*ww w .j a v a2 s . c o m*/ * Interprets integer byte representation stored in 'db' as a long * * @param intId */ public static Long convertIntToLong(Integer intId) { if (intId == null) { return null; } else { return Long.valueOf(intId.intValue() & 0xffffffffL); } } }