org.xmloperator.lambda2.net.model
Interface BinaryCell

All Superinterfaces:
Cell
All Known Implementing Classes:
BinaryCellImpl

public interface BinaryCell
extends Cell

Binary cell. Constructor or Duplicator.


Field Summary
 
Fields inherited from interface org.xmloperator.lambda2.net.model.Cell
INTERACTION_ABSTRACTOR_APPLICATOR, INTERACTION_ANNIHILATION_CONSTRUCTOR, INTERACTION_ANNIHILATION_DUPLICATOR, INTERACTION_ANNIHILATION_ERASER, INTERACTION_APPLICATOR_DECODER, INTERACTION_CONSTRUCTOR_DUPLICATOR, INTERACTION_CONSTRUCTOR_DUPLICATOR_CONTRUCTORS, INTERACTION_DUPLICATING_ABSTRACTOR, INTERACTION_DUPLICATING_APPLICATOR, INTERACTION_DUPLICATING_DECODER, INTERACTION_ERASING_ABSTRACTOR, INTERACTION_ERASING_APPLICATOR, INTERACTION_ERASING_CONSTRUCTOR, INTERACTION_ERASING_DECODER, INTERACTION_ERASING_DUPLICATOR, INTERACTION_MERGING_DECODER, INTERACTION_MERGING_DECODERS, INTERACTION_SYMBOLS, INTERACTION_WIRE, SYMBOL_ABSTRACTOR, SYMBOL_APPLICATOR, SYMBOL_CONSTRUCTOR, SYMBOL_DECODER, SYMBOL_DUPLICATOR, SYMBOL_ERASER, SYMBOL_SYMBOLS, SYMBOL_WIRE
 
Method Summary
 void changeToDuplicator()
          Changes this cell to a duplicator (if it is a constructor).
 Port getPort1()
          Returns the first auxiliary Port of this Cell.
 Port getPort2()
          Returns the second auxiliary Port of this Cell.
 boolean isDuplicator()
          Returns true if this cell is a duplicator, false if this is a constructor.
 
Methods inherited from interface org.xmloperator.lambda2.net.model.Cell
cloneCell, collectPorts, getPort, getPrincipalPort, getSymbol, getSymbolArity, interact, isBinaryCell, isDecoder, isEraser, isPentaryMultiplexor, isWireCell
 

Method Detail

getPort1

public Port getPort1()
Returns the first auxiliary Port of this Cell.

Returns:
the first auxiliary Port of this Cell.

getPort2

public Port getPort2()
Returns the second auxiliary Port of this Cell.

Returns:
the second auxiliary Port of this Cell.

isDuplicator

public boolean isDuplicator()
Returns true if this cell is a duplicator, false if this is a constructor.

Returns:
true if this cell is a duplicator, false if this is a constructor.

changeToDuplicator

public void changeToDuplicator()
Changes this cell to a duplicator (if it is a constructor).