int function ( Set arg0 ) { return determineProperSizing ( arg0 . size ( ) ) ; }
given a set , determine the proper initial size for a new set to hold the same number of values . specifically we want to account for load size and load factor to prevent immediate resizing . concode_field_sep int MINIMUM_INITIAL_CAPACITY concode_elem_sep Collection EMPTY_COLLECTION concode_elem_sep List EMPTY_LIST concode_elem_sep float LOAD_FACTOR concode_elem_sep Map EMPTY_MAP concode_field_sep Map<K,V> mapOfSize concode_elem_sep boolean isEmpty concode_elem_sep boolean isEmpty concode_elem_sep List<T> arrayList concode_elem_sep boolean isNotEmpty concode_elem_sep boolean isNotEmpty concode_elem_sep ConcurrentHashMap<K,V> concurrentMap concode_elem_sep ConcurrentHashMap<K,V> concurrentMap