Nice TWiki > Doc > SingletonPattern (r1.2 vs. r1.3) TWiki webs:
Dev | Doc | Main | TWiki | Sandbox
Doc . { Changes | Index | Search | Go }
 <<O>>  Difference Topic SingletonPattern (r1.3 - 11 Jun 2003 - BrynKeller)
Added:
>
>

This meaning of 'private' for classes would also enable enumerations and other algebraic datatypes:

private class Severity {}
final class DEBUG extends Severity {}
final class TRACE extends Severity {}
final class ERROR extends Severity {}

-- BrynKeller - 11 Jun 2003


Topic SingletonPattern . { View | Diffs | r1.3 | > | r1.2 | > | r1.1 | More }
Revision r1.2 - 30 May 2003 - 11:19 GMT - DanielBonniot
Revision r1.3 - 11 Jun 2003 - 20:02 GMT - BrynKeller
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.