Map<String,Profile.Section>
, CommentedMap<String,Profile.Section>
, MultiMap<String,Profile.Section>
, Profile
, Registry
Reg
public class BasicRegistry extends BasicProfile implements Registry
Map.Entry<K extends Object,V extends Object>
Profile.Section
Registry.Hive, Registry.Key, Registry.Type
PATH_SEPARATOR
ESCAPE_CHAR, FILE_ENCODING, KEY_SEPARATOR, LINE_SEPARATOR, TYPE_SEPARATOR, VERSION
Constructor | Description |
---|---|
BasicRegistry() |
Modifier and Type | Method | Description |
---|---|---|
Registry.Key |
add(String name) |
|
Registry.Key |
get(Object key) |
|
Registry.Key |
get(Object key,
int index) |
|
String |
getVersion() |
|
Registry.Key |
put(String key,
Profile.Section value) |
|
Registry.Key |
put(String key,
Profile.Section value,
int index) |
|
Registry.Key |
remove(Object key) |
|
Registry.Key |
remove(Object key,
int index) |
|
Registry.Key |
remove(Profile.Section section) |
|
void |
setVersion(String value) |
add, add, containsKey, containsValue, entrySet, getAll, isEmpty, keySet, length, putAll, size, toString, values
add, as, as, fetch, fetch, get, get, getComment, put, remove, setComment
getComment, putComment, removeComment
clear, getComment, putAll, putComment, removeComment
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entry, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, putAll, putIfAbsent, replace, replace, replaceAll, size, values
public BasicRegistry()
public String getVersion()
getVersion
in interface Registry
public void setVersion(String value)
setVersion
in interface Registry
public Registry.Key add(String name)
add
in interface Profile
add
in class BasicProfile
public Registry.Key get(Object key)
get
in interface Map<String,Profile.Section>
get
in interface Registry
get
in class BasicMultiMap<String,Profile.Section>
public Registry.Key get(Object key, int index)
get
in interface MultiMap<String,Profile.Section>
get
in interface Registry
get
in class BasicMultiMap<String,Profile.Section>
public Registry.Key put(String key, Profile.Section value)
put
in interface Map<String,Profile.Section>
put
in interface Registry
put
in class BasicMultiMap<String,Profile.Section>
public Registry.Key put(String key, Profile.Section value, int index)
put
in interface MultiMap<String,Profile.Section>
put
in interface Registry
put
in class BasicMultiMap<String,Profile.Section>
public Registry.Key remove(Profile.Section section)
remove
in interface Profile
remove
in class BasicProfile
public Registry.Key remove(Object key)
remove
in interface Map<String,Profile.Section>
remove
in interface Registry
remove
in class CommonMultiMap<String,Profile.Section>
public Registry.Key remove(Object key, int index)
remove
in interface MultiMap<String,Profile.Section>
remove
in interface Registry
remove
in class CommonMultiMap<String,Profile.Section>