Here you can find the source of asHex(final int value)
public static String asHex(final int value)
//package com.java2s; /*/*from w w w .ja v a2 s . co m*/ * Copyright (c) 2013 - 2015 Naios <naios-dev@live.de> * * This file is part of WIde which is released under Creative Commons 4.0 (by-nc-sa) * See file LICENSE for full license details. */ public class Main { public static String asHex(final int value) { return "0x" + Integer.toHexString(value); } }