• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Class for converting Contractor

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Everyone,
Probably this is my last questions because tomorrow my last day for submition my solution.=))

Have a quieston about utility class wich I created for converting Contrator class to-from String[6] and byte[]



This methods can be moved to the Contrator class(like Integer.valueOf(), etc) or can be stay at my ContratorConvertor(probably this is wrong name?) class in suncertify.util package;
Do you have any suggestions about it?

Thanks for any help.
 
Ranch Hand
Posts: 59
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Sergey,

i would have let them be in your utility class e.g. ContractorConverter (for me there's nothing wrong with that name).

BTW: Good luck!!!

Kind regards,
Bernd
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sergey,

My class containing this conversion methods is called RoomUtils (as it contains also other methods with regard to rooms), just like you have BooleanUtils, StringUtils,...
Your class contains only conversion methods, so ContractorConverter is a good name.

Kind regards,
Roel
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy, Sergey!

Probably this is my last questions because tomorrow my last day for submition my solution.=))



Champion, do you have everything up-and-running already? Is everything finished? Hopefully, soon you'll also be a SCJD! Good luck!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic