public Map < TimestampMode , List < String > > getDefaultTimestampModes ( ) { Map < TimestampMode , List < String > > result = new HashMap < TimestampMode , List < String > > ( ) ; for ( String resourcetype : m_defaultTimestampModes . keySet ( ) ) { TimestampMode mode = m_defaultTimestampModes . get ( resourcetype ) ; if ( result . containsKey ( mode ) ) { result . get ( mode ) . add ( resourcetype ) ; } else { List < String > list = new ArrayList < String > ( ) ; list . add ( resourcetype ) ; result . put ( mode , list ) ; } } return result ; }
Returns the map from resourcetype names to default timestamp modes .