Collection < T > function ( MultiMapConfig . ValueCollectionType arg0 , int arg1 ) { switch ( arg0 ) { case SET : return arg1 <= 0 ? new HashSet < T > ( ) : new HashSet < T > ( arg1 ) ; case LIST : return new LinkedList < T > ( ) ; default : throw new IllegalArgumentException ( "srini_string" + arg0 + "srini_string" + "srini_string" ) ; } }
picks right collection type , like java.util.set or java.util.list depending on the com.hazelcast.config.multimapconfig #valuecollectiontype and creates it . concode_field_sep PlaceHolder placeHolder concode_field_sep Collection<T> emptyCollection concode_elem_sep MultiMapConfig.ValueCollectionType findCollectionType