public Map < K , V > getMap ( ) { if ( mode == StorageMode . LIST ) { synchronized ( this ) { if ( mode == StorageMode . LIST ) { mapData = convertListToMap ( listData ) ; mode = StorageMode . BOTH ; } } } return Collections . unmodifiableMap ( mapData ) ; }
Returns the content of this MapField as a read - only Map .