Skip to content

item1> 플라이웨이트 패턴과 Enum 인스턴스 #60

@charlesuu

Description

@charlesuu

이펙티브 자바 item1 p9를 보면 "인스턴스 통제는 플라이웨이트 패턴[Gamma95]의 근간이 되며, 열거 타입은 인스턴스
가 하나만 만들어 짐을 보장한다."는 문장이 있습니다.
플라이웨이트 패턴이 무엇인지, 열거 타입의 인스턴스는 하나만 만들어지는 이유가 무엇인지 학습해 보아요.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions