public static double getValueAsDouble ( byte [ ] key , NavigableMap < byte [ ] , byte [ ] > infoValues ) { byte [ ] value = infoValues . get ( key ) ; if ( value != null ) { return Bytes . toDouble ( value ) ; } else { return 0.0 ; } }
return a value from the NavigableMap as a Double