changes the max size of the cache . if newmaxsize is greater then maxsize next invoke to maxsize will return newmaxsize and the entries in cache will not be modified . if newmaxsize is less then size the cache will shrink itself removing least recently used element until size equals newmaxsize . for each element removed the #elementcleaned method is invoked . if newmaxsize is less then 1 an illegalargumentexception is thrown . concode_field_sep int maxSize concode_elem_sep boolean resizing concode_elem_sep Map<K,E> cache concode_elem_sep String name concode_elem_sep HitCounter counter concode_elem_sep boolean adaptive concode_field_sep String getName concode_elem_sep long hitCount concode_elem_sep Set<java.util.Map.Entry<K,E>> entrySet concode_elem_sep void setAdaptiveStatus concode_elem_sep Collection<E> values concode_elem_sep void clear concode_elem_sep int maxSize concode_elem_sep boolean isResizing concode_elem_sep void put concode_elem_sep E remove concode_elem_sep boolean removeEldestEntry concode_elem_sep int size concode_elem_sep E get concode_elem_sep void putAll concode_elem_sep void resizeInternal concode_elem_sep Set<K> keySet concode_elem_sep void elementCleaned concode_elem_sep boolean isAdaptive concode_elem_sep long missCount
void function ( int arg0 ) { if ( arg0 < 1 ) { throw new IllegalArgumentException ( "srini_string" + arg0 ) ; } resizeInternal ( arg0 ) ; }