public void add ( Block key , Block value , int keyPosition , int valuePosition ) { if ( ! keyExists ( key , keyPosition ) ) { addKey ( key , keyPosition ) ; if ( value . isNull ( valuePosition ) ) { valueBlockBuilder . appendNull ( ) ; } else { valueType . appendTo ( value , valuePosition , valueBlockBuilder ) ; } } }
Only add this key value pair if we haven t seen this key before . Otherwise ignore it .