public class BasicRegistry extends BasicProfile implements Registry
Registry.Hive, Registry.Key, Registry.Type
Profile.Section
ESCAPE_CHAR, FILE_ENCODING, KEY_SEPARATOR, LINE_SEPARATOR, TYPE_SEPARATOR, VERSION
PATH_SEPARATOR
Constructor and Description |
---|
BasicRegistry() |
Modifier and Type | Method and 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, as, as, fetch, fetch, get, get, getComment, put, remove, setComment
clear, getComment, putAll, putComment, removeComment
add, add, containsKey, containsValue, entrySet, getAll, isEmpty, keySet, length, putAll, size, toString, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, as, as, fetch, fetch, get, get, getComment, put, remove, setComment
getComment, putComment, removeComment
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, replace, replace, replaceAll, size, values
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>
Copyright © 2017. All rights reserved.