public class Bipolar extends Part
NetObject.Type
pins, TYPE_FIELD_WIDTH
Constructor and Description |
---|
Bipolar(PrimitiveNode.Function np,
NccNameProxy.PartNameProxy name,
double area,
Wire emit,
Wire base,
Wire coll) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
connectionDescription(int n)
human readable description of things connected this NetObject
|
java.lang.String |
connectionDescription(Wire w)
comma separated list of pins connected to w
|
double |
getArea() |
int[] |
getPinCoeffs()
Here is an accessor method for the coefficient array for this
Part.
|
PinType |
getPinTypeOfNthPin(int n) |
java.lang.Integer |
hashCodeForParallelMerge()
Compute a hash code for this part for the purpose of performing
parallel merge.
|
boolean |
parallelMerge(Part p,
NccOptions nccOpt)
This method attempts to merge this Part in parallel with another Part
|
int |
typeCode()
returns a unique int value for each distinct Part type
|
java.lang.String |
typeString()
returns String describing Part's type
|
java.lang.String |
valueDescription()
Report the numeric values of this Part,
for example: width, length, resistance.
|
checkMe, computeHashCode, getConnected, getHashFor, getLength, getName, getNameProxy, getNetObjType, getWidth, instanceDescription, isDeleted, isMos, isResistor, numDistinctWires, numPins, numPinsConnected, setDeleted, type
error, fullDescription, getCode, getParent, setParent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fullDescription
public Bipolar(PrimitiveNode.Function np, NccNameProxy.PartNameProxy name, double area, Wire emit, Wire base, Wire coll)
public PinType getPinTypeOfNthPin(int n)
getPinTypeOfNthPin
in class Part
public double getArea()
public int[] getPinCoeffs()
Part
getPinCoeffs
in class Part
public java.lang.Integer hashCodeForParallelMerge()
Part
hashCodeForParallelMerge
in class Part
public boolean parallelMerge(Part p, NccOptions nccOpt)
Part
parallelMerge
in class Part
p
- the other Part with which to mergenccOpt
- NccOptions. Used for size tolerance specification.public int typeCode()
Part
public java.lang.String typeString()
Part
typeString
in interface PartReport.PartReportable
typeString
in class Part
public java.lang.String valueDescription()
Part
valueDescription
in class Part
public java.lang.String connectionDescription(int n)
NetObject
connectionDescription
in class NetObject
public java.lang.String connectionDescription(Wire w)
Part
connectionDescription
in class Part