Creates an instance.paramchunkLen Length of current chunk. super(GUID.GUID_ENCODING, chunkLen); this.strings = new ArrayList<String>();
super(GUID.GUID_ENCODING, chunkLen); this.strings = new ArrayList<String>();
This method appends a String.paramtoAdd String to add. this.strings.add(toAdd);
this.strings.add(toAdd);
This method returns a collection of all {@linkplain String Strings} which were added due {@link #addString(String)}.returnInserted Strings. return new ArrayList<String>(this.strings);
return new ArrayList<String>(this.strings);
{@inheritDoc} final StringBuilder result = new StringBuilder(super .prettyPrint(prefix)); this.strings.iterator(); for (final String string : this.strings) { result.append(prefix).append(" | : ").append(string).append( Utils.LINE_SEPARATOR); } return result.toString();
final StringBuilder result = new StringBuilder(super .prettyPrint(prefix)); this.strings.iterator(); for (final String string : this.strings) { result.append(prefix).append(" | : ").append(string).append( Utils.LINE_SEPARATOR); } return result.toString();