Skip to content

Not have private constructor in the thread-safe Singleton class ? #12

@wokaole

Description

@wokaole

hello iluwatar

when I read the Singleton pattern ,the ThreadSafeLazyLoadedIvoryTower class use the default constructor method ,you don't specify it ,should it right ?
I think must add a private constructor as the IvoryTower class.
is it right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions