public class HeapInsIntervalManager extends IFigureManager
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_TO_ALL |
static int |
ALL_TO_MANY |
static int |
Divisions |
static int |
MANY_TO_ALL |
static int |
ONE_TO_ONE |
| Constructor and Description |
|---|
HeapInsIntervalManager() |
| Modifier and Type | Method and Description |
|---|---|
SegmentNode |
addNewFigure(int code,
RectangleNode pnew) |
void |
clear()
Delete all the shapes recorded.
|
void |
flush() |
SegmentNode[] |
getFigures() |
int[] |
getSizes() |
boolean |
isThereUnprocessedFigures() |
void |
mergeFigures(int upperSize) |
void |
removeUselessSegments() |
cleanCache, getRectangleNode, getSegmentNode, reclaimRectangleNode, reclaimSegmentNodepublic static int Divisions
public static final int ALL_TO_ALL
public static final int ALL_TO_MANY
public static final int MANY_TO_ALL
public static final int ONE_TO_ONE
public SegmentNode[] getFigures()
getFigures in class IFigureManagerpublic int[] getSizes()
getSizes in class IFigureManagerpublic boolean isThereUnprocessedFigures()
isThereUnprocessedFigures in class IFigureManagerpublic void flush()
flush in class IFigureManagerpublic void clear()
public SegmentNode addNewFigure(int code, RectangleNode pnew)
addNewFigure in class IFigureManagerpublic void mergeFigures(int upperSize)
mergeFigures in class IFigureManagerpublic void removeUselessSegments()
removeUselessSegments in class IFigureManager