Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
This Util Class holds a method that Covert a
ArrayList
to Comma Separated Srting.
public ListToDelimtedString {
/**
* This method Converts a List to Comma separated
* String
*
*/
private String
listToDelimtedString(List toList, String messageType) {
StringBuffer sbuf = new
StringBuffer();
Iterator iterator = null;
iterator = toList.iterator();
while(iterator.hasNext()){
String address
= ((String)iterator.next())
sbuf.append(address);
if(iterator.hasNext()){
sbuf.append(NotificationConstant.ADDRESS_DELIMITOR);
}
}
return
sbuf.toString();
}
}
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.