3101 (some convertingtools)

4 javapieces int_to_bin/bin_to_int/int_to_hex/hex_to_int

int_to_bin

class dec_bin
{
public static String b0(int n) {

        if (n == 0) return "0";
        if (n == 1) return "1";
        
        return b0(n / 2) + (n % 2);
}
public static void main (String[] args)
{
int ein=0;
String erg="";
ein=eingabe.readInt("Integer:");
erg= b0(ein);
System.out.println(erg);
}
}

bin_to_int

class bin_dec
{
public static void main (String[] args)
{
String ein = "";
int foo=0;
ein=eingabe.readString("String(bin):");
foo = Integer.parseInt(ein, 2);
System.out.println(foo);
}
}

int_to_hex

class dec_hex
{
public static String intToHexStr(int i){
    return "0x"+String.format("%2s", Integer.toHexString(i)).replace(' ', '0');
}
public static void main (String[] args)
{
int ein=0;
String erg="";
ein=eingabe.readInt("Integer:");
erg=intToHexStr(ein);
System.out.println(erg);
}
}

hex_to_int

class hex_dec
{
public static void main (String[] args)
{
String ein = "";
String foo="";
String bar="";
int value=0;
ein=eingabe.readString("String(hex):");
foo=ein.substring(0,2);
if (foo.equals("0x")) { bar = ein.substring(2); }
else { bar = ein; }
value = Integer.parseInt(bar, 16);
System.out.println(value);
}
}

2913 (the java keywords)

abstract boolean break byte
case catch char class
const continue default do
double else extends final
finally float for goto
if implements import instanceof
int interface long native
new (null) package private
protected public return short
static super switch synchronized
this throw throws transient
try void volatile while
assert enum strictfp (true)
(false)

() literals