Package org.tomlj

Interface MutableTomlEntry

All Superinterfaces:
TomlElement, TomlEntry
All Known Subinterfaces:
MutableTomlKeyValue

public interface MutableTomlEntry extends TomlEntry
A TomlEntry whose value and attached comments can be edited in place.

An entry is obtained from the table or array it belongs to, with MutableTomlTable.entry(java.lang.String) or MutableTomlArray.entry(int). MutableTomlTable and MutableTomlArray also offer a shortcut for each comment setter and remover here, taking the key or index of the entry to change.

Not safe for use from multiple threads without external synchronization.