Here you can find the source of valueOf(int i)
public static boolean valueOf(int i)
//package com.java2s; //License from project: Open Source License public class Main { public static boolean valueOf(int i) { return (i != 0); }/*from w w w .j a va 2s . c om*/ }