Full Library / Math Operator / Logic / Equals
Block Name: Equals
- public class Equals
- extends Transformer
- A logical equals operator. This operator has one input multiport and one output port that is not a multiport. It will consume at most one token from each input channel, and compare the tokens using the isEqualTo() method of the Token class. If all observed input tokens are equal, then the output will be a true-valued boolean token. If there is not at least one token on the input channels, then no output is produced. The type of the input port is undeclared and will be resolved by the type resolution mechanism. Note that all input channels must resolve to the same type. The type of the output port is boolean.
- See Also:
- Token#isEqualTo(Token)
Created with the Personal Edition of HelpNDoc: Create iPhone web-based documentation