|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.electric.database.ImmutableElectricObject
com.sun.electric.database.ImmutableNodeInst
com.sun.electric.database.ImmutableIconInst
public class ImmutableIconInst
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.electric.database.ImmutableNodeInst |
|---|
ImmutableNodeInst.Flag |
| Field Summary |
|---|
| Fields inherited from class com.sun.electric.database.ImmutableNodeInst |
|---|
anchor, EMPTY_LIST, HARD_SELECT, LOCKED, name, nameDescriptor, nodeId, NULL_ARRAY, orient, protoDescriptor, protoId, SIMPLE_TRACE_SIZE, size, techBits, VIS_INSIDE |
| Fields inherited from class com.sun.electric.database.ImmutableElectricObject |
|---|
flags |
| Method Summary | |
|---|---|
void |
check()
Checks invariant of this ImmutableIconInst. |
boolean |
equalsExceptVariables(ImmutableElectricObject o)
Indicates whether fields of other ImmutableElectricObject are equal to fields of this object. |
Variable |
getDefinedParameter(Variable.AttrKey key)
Method to return the Parameter on this ImmuatbleIconInst with a given key. |
java.util.Iterator<Variable> |
getDefinedParameters()
Method to return an Iterator over all Parameters on this ImmutableIconInst. |
int |
getNumDefinedParameters()
Method to return the number of Parameters on this ImmutableIconInst. |
ImmutableIconInst |
withoutParam(Variable.AttrKey key)
Returns ImmutableIconInst which differs from this ImmutableIconInst by removing parameter with the specified key. |
ImmutableIconInst |
withParam(Variable var)
Returns ImmutableIconInst which differs from this ImmutableIconInst by additional parameter. |
ImmutableNodeInst |
withVariable(Variable var)
Returns ImmutableIconInst which differs from this ImmutableIconInst by additional Variable. |
| Methods inherited from class com.sun.electric.database.ImmutableNodeInst |
|---|
computeBounds, flagsFromElib, getArcDegrees, getElibBits, getPortInst, getPortsWithVariables, getSerpentineTransistorLength, getTrace, hashCodeExceptVariables, hasPortInstVariables, is, isCellCenter, isEasyShape, isUsernamed, newInstance, techSpecificFromElib, withAnchor, withFlag, withName, withNameDescriptor, withOrient, withoutVariable, withPortInst, withProtoDescriptor, withSize, withStateBits, withTechSpecific |
| Methods inherited from class com.sun.electric.database.ImmutableElectricObject |
|---|
getNumVariables, getVar, getVar, getVariables, getVarValue, searchVar, toVariableArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Variable getDefinedParameter(Variable.AttrKey key)
key - the key of the Variable.
java.lang.NullPointerException - if key is nullpublic java.util.Iterator<Variable> getDefinedParameters()
public int getNumDefinedParameters()
public ImmutableIconInst withParam(Variable var)
var - additional Variable.
java.lang.NullPointerException - if var is nullpublic ImmutableIconInst withoutParam(Variable.AttrKey key)
key - Variable Key to remove.
java.lang.NullPointerException - if key is nullpublic ImmutableNodeInst withVariable(Variable var)
withVariable in class ImmutableNodeInstvar - additional Variable.
java.lang.NullPointerException - if var is null
java.lang.IllegalArgumentException - if this ImmutableIconInst has a parameter with the same name as new variablepublic boolean equalsExceptVariables(ImmutableElectricObject o)
equalsExceptVariables in class ImmutableNodeInsto - other ImmutableElectricObject.
public void check()
check in class ImmutableNodeInstjava.lang.AssertionError - if invariant is broken.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||