- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Connection c =
DataSource dataSource;dataSource.getConnection()
String url;DriverManager.getConnection(url)
IdentityDatabaseUtil.getDBConnection()
- Smart code suggestions by Codota
}
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ @Override public final long longValue() { return (long)doubleValue(); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ @Override public final byte byteValue() { return (byte)doubleValue(); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ @Override public final int intValue() { return (int)doubleValue(); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ @Override public final short shortValue() { return (short)doubleValue(); }
@Override public StringBuffer format (@Nonnull Object object, @Nonnull final StringBuffer toAppendTo, @Nonnull final FieldPosition position) { if (object instanceof Rational) { object = ((Rational)object).doubleValue(); } return delegate.format(object, toAppendTo, position); }