Java Integer Create toInt(short x, short y)

Here you can find the source of toInt(short x, short y)

Description

to Int

License

Open Source License

Declaration

public static int toInt(short x, short y) 

Method Source Code

//package com.java2s;

public class Main {
    public static int toInt(short x, short y) {
        return (x << 16) | (y & 0xffff);
    }/*  w w  w  . j av a2 s .c o  m*/
}

Related

  1. toInt(Object value, int nullValue)
  2. toInt(Object vo)
  3. toInt(short leftShort, short rightShort)
  4. ToInt(short n1, short n2)
  5. toInt(short s0, short s1)
  6. toInt(short[] arr)
  7. toInt(String arr, String separator)
  8. toInt(String chars)
  9. toInt(String input, int defaultValue)