inserts a new element in this buffer . if #remainingcapacity is zero , the oldest element is discarded . concode_field_sep Deque<SingleMetric> buffer concode_elem_sep int capacity concode_field_sep int size concode_elem_sep int remainingCapacity concode_elem_sep void reInsert concode_elem_sep List<SingleMetric> remove
void function ( SingleMetric arg0 ) { if ( arg0 == null ) { return ; } if ( remainingCapacity ( ) == 0 ) { buffer . removeLast ( ) ; } buffer . addFirst ( arg0 ) ; }