public abstract class SortInsertProfiling<Container,Element> extends SortInsertDefault<Container,Element>
| Modifier and Type | Field and Description |
|---|---|
int |
currentDepth |
long |
insertEndNS |
long |
insertStartNS |
long |
insertTotalNS |
int |
maxDepth |
long |
sortInsertEndNS |
long |
sortInsertStartNS |
long |
sortInsertTimeNS |
| Constructor and Description |
|---|
SortInsertProfiling() |
| Modifier and Type | Method and Description |
|---|---|
static SortInsert<List,Object> |
createForList()
Создание экземпляра для работы со списком
|
protected void |
initCounters() |
protected void |
profBeginInsert() |
protected void |
profEndInsert() |
protected boolean |
profiling() |
int |
sortInsert(Container container,
Element item,
Comparator comp,
int begin,
int endex)
Вставка сортировкой
|
get, insertpublic int maxDepth
public int currentDepth
public long sortInsertTimeNS
public long sortInsertStartNS
public long sortInsertEndNS
public long insertStartNS
public long insertEndNS
public long insertTotalNS
protected boolean profiling()
profiling in class SortInsertDefault<Container,Element>protected void profBeginInsert()
profBeginInsert in class SortInsertDefault<Container,Element>protected void profEndInsert()
profEndInsert in class SortInsertDefault<Container,Element>protected void initCounters()
public int sortInsert(Container container, Element item, Comparator comp, int begin, int endex)
SortInsertDefaultsortInsert in class SortInsertDefault<Container,Element>container - контейнерitem - элементcomp - компараторbegin - начало диапазона вставкиendex - конец диапазона вставкиpublic static SortInsert<List,Object> createForList()
Copyright © 2018. All rights reserved.