Jump to content

Zybez price retriever


Boots

Recommended Posts

  • 2 months later...

Looks useful; but.. Why would you make a singleton without a defined constructor :E?

 

The purpose of singleton is to prevent multiple instances, hence a private constructor.. and the only reason u would do this is in cases where the class holds some sort of reference that should not be created multiple instances of; like a connection. But you create a new one every time anyway?

 

also, is this on purpose?

final String AVERAGE = "average",LOW= "recent_high", HIGH="recent_low";

HIGH = low and LOW = high?

Edited by FrostBug
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...