Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/SLEqualNode.java @ 22210:3a96086cf698
Fix a couple typos in SL javadoc.
author | Benoit Daloze <benoit.daloze@jku.at> |
---|---|
date | Wed, 30 Sep 2015 14:25:09 +0200 |
parents | dc83cc1f94f2 |
children |
comparison
equal
deleted
inserted
replaced
22209:dcee887614b1 | 22210:3a96086cf698 |
---|---|
56 * {@link #equal(Object, Object) generic implementation} that can handle all possible types. But | 56 * {@link #equal(Object, Object) generic implementation} that can handle all possible types. But |
57 * since {@code ==} can only return {@code true} when the type of the left and right operand are the | 57 * since {@code ==} can only return {@code true} when the type of the left and right operand are the |
58 * same, the specializations already cover all possible cases that can return {@code true} and the | 58 * same, the specializations already cover all possible cases that can return {@code true} and the |
59 * generic case is trivial. | 59 * generic case is trivial. |
60 * <p> | 60 * <p> |
61 * Note that we do not need the analogous {@code =!} operator, because we can just | 61 * Note that we do not need the analogous {@code !=} operator, because we can just |
62 * {@link SLLogicalNotNode negate} the {@code ==} operator. | 62 * {@link SLLogicalNotNode negate} the {@code ==} operator. |
63 */ | 63 */ |
64 @NodeInfo(shortName = "==") | 64 @NodeInfo(shortName = "==") |
65 public abstract class SLEqualNode extends SLBinaryNode { | 65 public abstract class SLEqualNode extends SLBinaryNode { |
66 | 66 |