Java examples for java.lang:long
bitwise Gte on two 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(bitwiseGte(a, b)); }/* w w w.j a va 2 s .c o m*/ public static final boolean bitwiseGte(long a, long b) { return (a | b) == a; } }