com.jpattern.orm.generator.wrapper.PrimitiveWrapper Maven / Gradle / Ivy
package com.jpattern.orm.generator.wrapper;
/**
*
* @author cinafr
*
*/
public abstract class PrimitiveWrapper {
public static Boolean wrap(boolean value) {
return Boolean.valueOf(value);
}
public static Byte wrap(byte value) {
return Byte.valueOf(value);
}
public static Character wrap(char value) {
return Character.valueOf(value);
}
public static Double wrap(double value) {
return Double.valueOf(value);
}
public static Float wrap(float value) {
return Float.valueOf(value);
}
public static Integer wrap(int value) {
return Integer.valueOf(value);
}
public static Long wrap(long value) {
return Long.valueOf(value);
}
public static Short wrap(short value) {
return Short.valueOf(value);
}
public static boolean wrap(Boolean value) {
return value;
}
public static byte wrap(Byte value) {
return value;
}
public static char wrap(Character value) {
return value;
}
public static double wrap(Double value) {
return value;
}
public static float wrap(Float value) {
return value;
}
public static int wrap(Integer value) {
return value;
}
public static long wrap(Long value) {
return value;
}
public static short wrap(Short value) {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy