Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.skife.jdbi.v2.util;
 
 
 public class DoubleMapper extends TypedMapper<Double>
 {
     public DoubleMapper()
     {
        super();
    }
    public DoubleMapper(int index)
    {
        super(index);
    }
    public DoubleMapper(String name)
    {
        super(name);
    }
    @Override
    protected Double extractByName(ResultSet rString namethrows SQLException
    {
        return r.getDouble(name);
    }
    @Override
    protected Double extractByIndex(ResultSet rint indexthrows SQLException
    {
        return r.getDouble(index);
    }
    public static final DoubleMapper FIRST = new DoubleMapper();
New to GrepCode? Check out our FAQ X