Class CaseScope
java.lang.Object
ai.redouble.examples.scopes.CaseScope
- All Implemented Interfaces:
Scope
- Direct Known Subclasses:
OrderScope
The case axis: whose customer a piece of work is about. A class rather than a record,
because
OrderScope narrows it by extending it and records cannot be extended.- Since:
- 0.1 (2026-09-28)
- Author:
- Andrey Santrosyan
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CaseScope
-
-
Method Details
-
matches
Description copied from interface:ScopeCompares the candidate on the axes BOTH sides carry. Called only with a candidate that shares an axis with this scope, so the topmost level of the chain casts freely; every deeper level guards its own cast withinstanceofand returnssuper.matchesalone for a candidate that does not reach its depth. The default - value equality - is right for flat record scopes. -
equals
-
hashCode
-
toString
-