Skip to content

Use singleton for Parameter #14

@GoogleCodeExporter

Description

@GoogleCodeExporter
com.truemesh.squiggle.Parameter should have a method getInstance() that would 
always return the same Parameter instance, so that we don't have to create a 
new one everytime we use it.

Since parameter is stateless, there won't be a problem in sharing the instance.

Attached is the simple path to Parameter.java to achieve this.

Original issue reported on code.google.com by brunoabdon on 5 Aug 2010 at 8:28

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions