Here you can find the source of int2(final int x)
public static byte int2(final int x)
//package com.java2s; //License from project: Apache License public class Main { public static byte int2(final int x) { return (byte) (x >> 16); }/*from www . j a v a 2 s .c om*/ }