|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmloperator.lambda2.term.impl.TermImpl
org.xmloperator.lambda2.term.impl.VariableImpl
org.xmloperator.lambda2.net.impl.PortImpl
org.xmloperator.lambda2.net.impl.CellImpl
Cell implementation. The Cell is amalgamated with its principal Port.
| Field Summary |
| Fields inherited from interface org.xmloperator.lambda2.term.model.Term |
TYPE_ABSTRACTION, TYPE_APPLICATION, TYPE_VARIABLE |
| Constructor Summary | |
CellImpl()
|
|
| Method Summary | |
void |
collectPorts(Stack portStack)
Adds its ports to a given Stack. |
Port |
getPrincipalPort()
Returns the principal port of this cell. |
boolean |
isBinaryCell()
Returns true if this Cell is a binaryCell, i.e. a constructor or a duplicator. |
boolean |
isDecoder()
Returns true if this Cell is a DecodingCell. |
boolean |
isEraser()
Returns true if this Cell is an Eraser. |
boolean |
isPentaryMultiplexor()
Returns true if this Cell is a PentaryMultiplexor, i.e. an Abstractor or an Applicator. |
boolean |
isWireCell()
Returns true if this Cell is a WireCell. |
| Methods inherited from class org.xmloperator.lambda2.net.impl.PortImpl |
connectTo, disconnect, getCell, getConnectedPort, getPortNumber, isConnected, isFree, isPrincipal |
| Methods inherited from class org.xmloperator.lambda2.term.impl.VariableImpl |
getTermType, isVariable |
| Methods inherited from class org.xmloperator.lambda2.term.impl.TermImpl |
buildAbstraction, buildAbstraction, buildAbstraction, buildApplication, buildApplication, freeVariables, isAbstraction, isApplication, toString, toText |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xmloperator.lambda2.net.model.Cell |
cloneCell, getPort, getSymbol, getSymbolArity, interact |
| Methods inherited from interface org.xmloperator.lambda2.term.model.Term |
buildAbstraction, buildAbstraction, buildAbstraction, buildApplication, buildApplication, freeVariables, isAbstraction, isApplication, toText |
| Constructor Detail |
public CellImpl()
| Method Detail |
public boolean isWireCell()
Cell
isWireCell in interface Cellpublic boolean isEraser()
Cell
isEraser in interface Cellpublic boolean isBinaryCell()
Cell
isBinaryCell in interface Cellpublic boolean isPentaryMultiplexor()
Cell
isPentaryMultiplexor in interface Cellpublic boolean isDecoder()
Cell
isDecoder in interface Cellpublic final Port getPrincipalPort()
Cell
getPrincipalPort in interface Cellpublic void collectPorts(Stack portStack)
Cell
collectPorts in interface CellportStack - a Stack of ports.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||