Equality Constraints With Java

final class Subclasses<A extends B, A>{
}
record Equals<A, B>(Subclasses<? super A,B> left, Subclasses<? super B, A> right){}

Reifies equality constraints

原文链接:Equality Constraints With Java

© 版权声明
THE END
喜欢就支持一下吧
点赞5 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容