public void serializePrimitive ( S rec , String fieldName , double value ) { serializePrimitive ( rec , fieldName , Double . valueOf ( value ) ) ; }
Can be overridden to avoid boxing a double where appropriate