• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class for converting Contractor

 
Sergey Bylokhov
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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.
 
Bernd Wollny
Ranch Hand
Posts: 59
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • 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
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • 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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic