1 22 package org.jboss.proxy.compiler; 23 24 31 public class Util 32 { 33 public static final Object [] NOARGS = {}; 34 35 public static final ClassLoader NULLCL = null; 36 37 public static Boolean wrap(boolean x) 38 { 39 return new Boolean (x); 40 } 41 42 public static Byte wrap(byte x) 43 { 44 return new Byte (x); 45 } 46 47 public static Character wrap(char x) 48 { 49 return new Character (x); 50 } 51 52 public static Short wrap(short x) 53 { 54 return new Short (x); 55 } 56 57 public static Integer wrap(int x) 58 { 59 return new Integer (x); 60 } 61 62 public static Long wrap(long x) 63 { 64 return new Long (x); 65 } 66 67 public static Float wrap(float x) 68 { 69 return new Float (x); 70 } 71 72 public static Double wrap(double x) 73 { 74 return new Double (x); 75 } 76 77 } 78 | Popular Tags |