private void populateDefaultData ( FieldItem [ ] defaultData ) { for ( FieldItem item : defaultData ) { m_map . put ( item . getType ( ) , item ) ; } }
This method takes an array of data and uses this to populate the field map .