public UInteger subtract(final int val) { return valueOf(value - val); } }
/** * Create an <code>unsigned int</code> * * @throws NumberFormatException If <code>value</code> does not contain a * parsable <code>unsigned int</code>. * @see UInteger#valueOf(String) */ public static UInteger uint(String value) throws NumberFormatException { return value == null ? null : UInteger.valueOf(value); }
@Override public UInteger convert(Long in, Context context) throws Exception { if (in == null) { return null; } return UInteger.valueOf(in); } });
/** * Create an <code>unsigned int</code> * * @throws NumberFormatException If <code>value</code> does not contain a * parsable <code>unsigned int</code>. * @see UInteger#valueOf(String) */ public static UInteger uint(String value) throws NumberFormatException { return value == null ? null : UInteger.valueOf(value); }
public UInteger add(final UInteger val) { return valueOf(value + val.value); }
/** * Create an <code>unsigned int</code> by masking it with * <code>0xFFFFFFFF</code> i.e. <code>(int) -1</code> becomes * <code>(uint) 4294967295</code> * * @see UInteger#valueOf(int) */ public static UInteger uint(int value) { return UInteger.valueOf(value); }
@Override public UInteger convert(Integer in, Context context) throws Exception { if (in == null) { return null; } return UInteger.valueOf(in); } });
/** * Create an <code>unsigned int</code> by masking it with * <code>0xFFFFFFFF</code> i.e. <code>(int) -1</code> becomes * <code>(uint) 4294967295</code> * * @see UInteger#valueOf(int) */ public static UInteger uint(int value) { return UInteger.valueOf(value); }
/** * Create an <code>unsigned int</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned int</code> * @see UInteger#valueOf(long) */ public static UInteger uint(long value) throws NumberFormatException { return UInteger.valueOf(value); }
/** * Create an <code>unsigned int</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned int</code> * @see UInteger#valueOf(long) */ public static UInteger uint(long value) throws NumberFormatException { return UInteger.valueOf(value); }
@Override public UInteger convert(Integer in, Context context) throws Exception { if (in == null) { return null; } return UInteger.valueOf(in); } });
@Override public UInteger convert(Long in, Context context) throws Exception { if (in == null) { return null; } return UInteger.valueOf(in); } });
public UInteger add(final int val) { return valueOf(value + val); }
public UInteger subtract(final UInteger val) { return valueOf(value - val.value); }
@Override final UInteger get0(BindingGetStatementContext<U> ctx) throws SQLException { String string = ctx.statement().getString(ctx.index()); return string == null ? null : UInteger.valueOf(string); }
@Override final UInteger get0(BindingGetSQLInputContext<U> ctx) throws SQLException { String string = ctx.input().readString(); return string == null ? null : UInteger.valueOf(string); }
return (T) UInteger.valueOf(string);
return (T) UShort.valueOf(string); else if (type == UInteger.class) return (T) UInteger.valueOf(string); else if (type == ULong.class) return (T) ULong.valueOf(string);
return (T) (string == null ? null : UInteger.valueOf(string));
return (T) (string == null ? null : UInteger.valueOf(string));