type-safe API internally - Webcourse

... The code is exactly below an instanceof check (still not as typesafe as other languages, e.g., Kotlin, Ceylon). Use other patterns to get around this, e.g., Visitor, ...
展开查看详情