Here you can find the source of toHexString(long l)
Parameter | Description |
---|---|
l | value |
public static String toHexString(long l)
//package com.java2s; //License from project: Apache License public class Main { /**/*w w w.ja va 2s .co m*/ * Converts long to hexadecimal string. * * @param l * value * @return hexadecimal representation of given long * * @see Long#toHexString(long) */ public static String toHexString(long l) { return Long.toString(l, 16); } }