static ReversePurgeLongHashMap deserializeFromStringArray ( final String [ ] tokens ) { final int ignore = STR_PREAMBLE_TOKENS ; final int numActive = Integer . parseInt ( tokens [ ignore ] ) ; final int length = Integer . parseInt ( tokens [ ignore + 1 ] ) ; final ReversePurgeLongHashMap hashMap = new ReversePurgeLongHashMap ( length ) ; int j = 2 + ignore ; for ( int i = 0 ; i < numActive ; i ++ ) { final long key = Long . parseLong ( tokens [ j ++ ] ) ; final long value = Long . parseLong ( tokens [ j ++ ] ) ; hashMap . adjustOrPutValue ( key , value ) ; } return hashMap ; }
Deserializes an array of String tokens into a hash map object of this class .