Content deleted Content added
→In other languages: Added Java comparable classes as example. |
→In other languages: Points to correct page instead of disambiguation |
||
Line 92:
==In other languages==
The CRTP makes an appearance in the [[Java language|Java programming language]] standard library where the [[Enumerated type|Enum]] class is defined as <code>Enum<T extends Enum<T>></code>. Java programmers use the CRTP in practice when they write a comparable class: <code>class X implements Comparable<X></code>.
==See also==
|