DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

How Many Subclasses Does Each Class Have?

04.07.2005
| 3207 views |
  • submit to reddit
        
(ProtoObject withAllSubclasses asArray 
collect: [:each | each subclasses size]) asBag sortedElements