Here you can find the source of getDouble(String columnName)
public double getDouble(String columnName)
import android.database.CharArrayBuffer; import android.database.Cursor; import android.provider.BaseColumns; public class Main{ public static double getDouble(Cursor cursor, String columnName) { return cursor.getDouble(cursor.getColumnIndex(columnName)); }//from w w w . j av a 2 s. c om public double getDouble(String columnName) { return getDouble(cursor, columnName); } }