Java Integer to Boolean intToBoolean(Integer value)

Here you can find the source of intToBoolean(Integer value)

Description

int To Boolean

License

Open Source License

Declaration

public static boolean intToBoolean(Integer value) 

Method Source Code

//package com.java2s;

public class Main {

    public static boolean intToBoolean(Integer value) {
        return Integer.valueOf(1).equals(value);
    }/*from   w  w  w .  ja  v  a  2 s. c  o m*/
}

Related

  1. intToBool(int i)
  2. intToBool(int int_in, int length)
  3. intToBoolAra(int num, int len)
  4. intToBoolean(int x)
  5. intToBoolean(int[] values)
  6. intToBooleanArray(int in)