public Number getValue(int index) {
        Number val = vector.get(index);
        return (val == null) ? 0 : val;
    }
public Number getValue ( int index ) { Number val = vector . get ( index ) ; return ( val == null ) ? 0 : val ; }
{@inheritDoc}