Class IsSamenessOperator
java.lang.Object
org.ek9lang.compiler.support.sameness.IsSamenessOperator
- All Implemented Interfaces:
BiPredicate<IAggregateSymbol, MethodSymbol>
public final class IsSamenessOperator
extends Object
implements BiPredicate<IAggregateSymbol, MethodSymbol>
THE "is this a declaration of its owner's sameness?" (B18): a
<=> or == comparing the owner with
itself (IsSelfComparison). Hold one and ask it.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(IAggregateSymbol owner, MethodSymbol operator) True for a<=>or==comparing the owner with itself - a declaration of its sameness.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiPredicate
and, negate, or
-
Constructor Details
-
IsSamenessOperator
public IsSamenessOperator()
-
-
Method Details
-
test
True for a<=>or==comparing the owner with itself - a declaration of its sameness.- Specified by:
testin interfaceBiPredicate<IAggregateSymbol, MethodSymbol>
-