java.lang.Object
xyz.cofe.sort.SortInsert<Container,Element>
xyz.cofe.sort.SortInsertDefault<Container,Element>
- Direct Known Subclasses:
SortInsertProfiling
public abstract class SortInsertDefault<Container,Element> extends SortInsert<Container,Element>
Вставка в контейнер значения по умолчанию
- Author:
- Kamnev Georgiy (nt.gocha@gmail.com)
-
Constructor Summary
Constructors Constructor Description SortInsertDefault() -
Method Summary
Modifier and Type Method Description protected voidprofBeginInsert()protected voidprofEndInsert()protected booleanprofiling()intsortInsert(Container container, Element item, java.util.Comparator<Element> comp, int begin, int endex)Вставка сортировкой
-
Constructor Details
-
SortInsertDefault
public SortInsertDefault()
-
-
Method Details
-
profBeginInsert
protected void profBeginInsert() -
profEndInsert
protected void profEndInsert() -
profiling
protected boolean profiling() -
sortInsert
public int sortInsert(Container container, Element item, java.util.Comparator<Element> comp, int begin, int endex)Вставка сортировкой- Specified by:
sortInsertin classSortInsert<Container,Element>- Parameters:
container- контейнерitem- элементcomp- компараторbegin- начало диапазона вставкиendex- конец диапазона вставки- Returns:
- позиция в которую произведена вставка
-