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, reclaimSegmentNode
public 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 IFigureManager
public int[] getSizes()
getSizes
in class IFigureManager
public boolean isThereUnprocessedFigures()
isThereUnprocessedFigures
in class IFigureManager
public void flush()
flush
in class IFigureManager
public void clear()
public SegmentNode addNewFigure(int code, RectangleNode pnew)
addNewFigure
in class IFigureManager
public void mergeFigures(int upperSize)
mergeFigures
in class IFigureManager
public void removeUselessSegments()
removeUselessSegments
in class IFigureManager