eliminate runtime conditional
We know in advance whether the object is a dispatcher or not, so we can configure the Constraints object with a strategy that will call the right method.
Showing
想要评论请 注册 或 登录
We know in advance whether the object is a dispatcher or not, so we can configure the Constraints object with a strategy that will call the right method.