No attempt has been made to make this class thread-safe at all. The append methods and indexOf are not too efficient either, but work for what we need.