class TokenList extends AbstractList<String> {

    @Override
    public String toString() {
        final StringBuilder str = new StringBuilder();

        final Iterator<String> iterator = iterator();
        while (iterator.hasNext()) {
            final String token = iterator.next();

            str.append(token);

            if (iterator.hasNext()) {
                str.append(' ');
            }
        }

        return str.toString();
    }

    public  TokenList();
    public  TokenList(final String stringlist);

}