Java examples for java.lang:long
bitwise Lte between long value
//package com.java2s; public class Main { public static void main(String[] argv) throws Exception { long a = 2; long b = 2; System.out.println(bitwiseLte(a, b)); }/*from www . j a va 2s .c om*/ public static final boolean bitwiseLte(long a, long b) { return (a & b) == a; } }