sorts the list using the natural ordering or using the sorter if it 's not null . concode_field_sep Set<Serializable> querySpaces concode_elem_sep boolean sorted concode_elem_sep Sorter<E> sorter concode_elem_sep ArrayList<E> executables concode_elem_sep boolean requiresSorting concode_elem_sep int INIT_QUEUE_LIST_SIZE concode_field_sep boolean add concode_elem_sep void writeExternal concode_elem_sep boolean isEmpty concode_elem_sep void clear concode_elem_sep void afterDeserialize concode_elem_sep E remove concode_elem_sep Iterator<E> iterator concode_elem_sep Set<Serializable> getQuerySpaces concode_elem_sep int size concode_elem_sep E get concode_elem_sep void removeLastN concode_elem_sep void readExternal concode_elem_sep String toString
void function ( ) { if ( sorted || ! requiresSorting ) { return ; } if ( sorter != null ) { sorter . sort ( executables ) ; } else { Collections . sort ( executables ) ; } sorted = true ; }