/** * Is used to overload implicit cast operators from byte to * org.openl.meta.LongValue * * @param x * @param y is needed to avoid ambiguity in Java method resolution * @return the casted value to org.openl.meta.LongValue */ public static org.openl.meta.LongValue autocast(byte x, org.openl.meta.LongValue y) { return new org.openl.meta.LongValue((long) x); }
/** * Is used to overload implicit cast operators from short to * org.openl.meta.LongValue * * @param x * @param y is needed to avoid ambiguity in Java method resolution * @return the casted value to org.openl.meta.LongValue */ public static org.openl.meta.LongValue autocast(short x, org.openl.meta.LongValue y) { return new org.openl.meta.LongValue((long) x); }
/** * Is used to overload implicit cast operators from long to * org.openl.meta.LongValue * * @param x * @param y is needed to avoid ambiguity in Java method resolution * @return the casted value to org.openl.meta.LongValue */ public static org.openl.meta.LongValue autocast(long x, org.openl.meta.LongValue y) { return new org.openl.meta.LongValue((long) x); }
/** * Is used to overload implicit cast operators from byte to * org.openl.meta.LongValue * * @param x * @param y is needed to avoid ambiguity in Java method resolution * @return the casted value to org.openl.meta.LongValue */ public static org.openl.meta.LongValue autocast(byte x, org.openl.meta.LongValue y) { return new org.openl.meta.LongValue((long) x); }
/** * Is used to overload implicit cast operators from char to * org.openl.meta.LongValue * * @param x * @param y is needed to avoid ambiguity in Java method resolution * @return the casted value to org.openl.meta.LongValue */ public static org.openl.meta.LongValue autocast(char x, org.openl.meta.LongValue y) { return new org.openl.meta.LongValue((long) x); }
/** * Is used to overload implicit cast operators from short to * org.openl.meta.LongValue * * @param x * @param y is needed to avoid ambiguity in Java method resolution * @return the casted value to org.openl.meta.LongValue */ public static org.openl.meta.LongValue autocast(short x, org.openl.meta.LongValue y) { return new org.openl.meta.LongValue((long) x); }
/** * Is used to overload implicit cast operators from int to * org.openl.meta.LongValue * * @param x * @param y is needed to avoid ambiguity in Java method resolution * @return the casted value to org.openl.meta.LongValue */ public static org.openl.meta.LongValue autocast(int x, org.openl.meta.LongValue y) { return new org.openl.meta.LongValue((long) x); }
/** * Is used to overload implicit cast operators from char to * org.openl.meta.LongValue * * @param x * @param y is needed to avoid ambiguity in Java method resolution * @return the casted value to org.openl.meta.LongValue */ public static org.openl.meta.LongValue autocast(char x, org.openl.meta.LongValue y) { return new org.openl.meta.LongValue((long) x); }
public static LongValue autocast(String x, LongValue y) { if (x == null) { return null; } return new LongValue(Long.valueOf(x)); }
public static LongValue autocast(ShortValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.getValue(), x, true); }
public static LongValue cast(BigDecimalValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.longValue(), x, false); }
@Override public Object readObject(MessageReader reader, Context context) { Long value = (Long) super.readObject(reader, context); return (value == null) ? null : new LongValue(value); } }
public static LongValue cast(DoubleValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.longValue(), x, false); }
public static LongValue cast(FloatValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.longValue(), x, false); }
public static LongValue autocast(IntValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.getValue(), x, true); }
public static LongValue cast(DoubleValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.longValue(), x, false); }
public static LongValue autocast(IntValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.getValue(), x, true); }
public static LongValue cast(BigIntegerValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.longValue(), x, false); }
public static LongValue autocast(ByteValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.getValue(), x, true); }
public static LongValue cast(BigDecimalValue x, LongValue y) { if (x == null) { return null; } return new LongValue(x.longValue(), x, false); }