Android Long to Boolean Convert longToBoolean(long value)

Here you can find the source of longToBoolean(long value)

Description

long To Boolean

Declaration

public static boolean longToBoolean(long value) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean longToBoolean(long value) {
        if (value == 1) {
            return true;
        } else {// ww w.java 2 s .  c  o  m
            return false;
        }
    }
}