@ SuppressWarnings ( "unchecked" ) private void createVector ( ) { fpVector = new List [ vectorSize ] ; keyVector = new List [ vectorSize ] ; ratio = new double [ vectorSize ] ; for ( int i = 0 ; i < vectorSize ; i ++ ) { fpVector [ i ] = Collections . synchronizedList ( new ArrayList < Key > ( ) ) ; keyVector [ i ] = Collections . synchronizedList ( new ArrayList < Key > ( ) ) ; ratio [ i ] = 0.0 ; } }
Creates and initialises the various vectors .