int function ( int arg0 ) { if ( wrap ) { if ( arg0 < count ) return count - arg0 - 1 ; else return count + ring . length - arg0 - 1 ; } else return count - arg0 - 1 ; }
since the kill ring has a wrap-around representation , we need to convert user-visible indices to actual indices in the array . concode_field_sep String[] ring concode_elem_sep KillRing killRing concode_elem_sep int count concode_elem_sep boolean wrap concode_field_sep void add concode_elem_sep void removeListDataListener concode_elem_sep void propertiesChanged concode_elem_sep void save concode_elem_sep void addListDataListener concode_elem_sep void remove concode_elem_sep int getSize concode_elem_sep void insertElementAt concode_elem_sep void load concode_elem_sep void reset concode_elem_sep KillRing getInstance concode_elem_sep boolean removeElement concode_elem_sep Object getElementAt concode_elem_sep int indexOf concode_elem_sep void setInstance concode_elem_sep void changed