question: protected void addInternal ( DoubleIntegerDBIDPair pair ) { if ( size == data . length ) { DoubleIntegerDBIDPair [ ] old = data ; data = new DoubleIntegerDBIDPair [ ( data . length << 1 ) + 1 ] ; System . arraycopy ( old , 0 , data , 0 , old . length ) ; } data [ size ++ ] = pair ; }
target:  Add an entry, consisting of distance and internal index.