Open cruisediary opened 7 years ago
how about creating variable like singleton than func size, type, version
func size, type, version
because after once called, size, type, version never changed in same device
everytime, when use Device.size(), Device.getVersion() ... every time calculated
Device.size()
Device.getVersion() ...
how about creating variable like singleton than
func size, type, version
because after once called, size, type, version never changed in same device
everytime, when use
Device.size()
,Device.getVersion() ...
every time calculated