Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package de.zalando.typemapper.core.fieldMapper;
 
 
 public class BigDecimalFieldMappper implements FieldMapper {
 
     @Override
     public Object mapField(final String stringfinal Class clazz) {
         if (string == null) {
            return null;
        }
        return new BigDecimal(string);
    }
New to GrepCode? Check out our FAQ X