|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.electric.database.CellBackup
public class CellBackup
CellBackup is a pair of CellRevision and TechPool. It caches data that can be calculated when Technology is already known, but subcells are unknown.
| Nested Class Summary | |
|---|---|
class |
CellBackup.Memoization
Class which memoizes data for size computation (connectivity etc). |
| Field Summary | |
|---|---|
CellRevision |
cellRevision
Cell data. |
static ImmutableArrayList<CellBackup> |
EMPTY_LIST
|
boolean |
modified
"Modified" flag of the Cell. |
static CellBackup[] |
NULL_ARRAY
|
TechPool |
techPool
Technologies mapping |
| Method Summary | |
|---|---|
void |
check()
Checks invariant of this CellBackup. |
ERectangle |
computePrimitiveBounds()
|
CellBackup.Memoization |
getMemoization()
Returns data for size computation (connectivity etc). |
ERectangle |
getPrimitiveBounds()
Returns bounds of all primitive arcs in this Cell or null if there are not primitives. |
AbstractShapeBuilder.Shrinkage |
getShrinkage()
Returns data for arc shrinkage computation. |
static CellBackup |
newInstance(ImmutableCell d,
TechPool techPool)
Creates a new instance of CellBackup |
java.lang.String |
toString()
|
CellBackup |
with(ImmutableCell d,
ImmutableNodeInst[] nodesArray,
ImmutableArcInst[] arcsArray,
ImmutableExport[] exportsArray,
TechPool superPool)
Creates a new instance of CellBackup which differs from this CellBackup. |
CellBackup |
withoutModified()
Creates a new instance of CellBackup with modified flag off. |
CellBackup |
withRevisionDate(long revisionDate)
Creates a new instance of CellBackup which differs from this CellBackup by revision date. |
CellBackup |
withTechPool(TechPool techPool)
Returns CellBackup which differs from this CellBackup by TechPool. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CellBackup[] NULL_ARRAY
public static final ImmutableArrayList<CellBackup> EMPTY_LIST
public final CellRevision cellRevision
public final TechPool techPool
public final boolean modified
| Method Detail |
|---|
public static CellBackup newInstance(ImmutableCell d,
TechPool techPool)
public CellBackup with(ImmutableCell d,
ImmutableNodeInst[] nodesArray,
ImmutableArcInst[] arcsArray,
ImmutableExport[] exportsArray,
TechPool superPool)
d - new persistent data of a cell.nodesArray - new array of nodesarcsArray - new array of arcsexportsArray - new array of exportssuperPool - TechPool which defines all used technologies
java.lang.IllegalArgumentException - on invariant violation.
ArrayOutOfBoundsException - on some invariant violations.public CellBackup withRevisionDate(long revisionDate)
revisionDate - new revision date.
public CellBackup withoutModified()
public CellBackup withTechPool(TechPool techPool)
techPool - technology map.
public void check()
java.lang.AssertionError - if invariant is broken.public java.lang.String toString()
toString in class java.lang.Objectpublic CellBackup.Memoization getMemoization()
public AbstractShapeBuilder.Shrinkage getShrinkage()
public ERectangle getPrimitiveBounds()
public ERectangle computePrimitiveBounds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||