Package net.citizensnpcs.api.util
Class DataKey
java.lang.Object
net.citizensnpcs.api.util.DataKey
- Direct Known Subclasses:
MemoryDataKey
A hierarchical abstract storage class. Similar to Bukkit's
ConfigurationSection.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateRelativeKey(String from) booleanabstract booleangetBoolean(String key) booleangetBoolean(String key, boolean value) abstract doubledoubleabstract DataKeygetFromRoot(String path) abstract intintabstract longlonggetPath()abstract Object<T> TgetRawUnchecked(String key) getRelative(int key) abstract DataKeygetRelative(String relative) abstract StringinthashCode()booleanabstract booleanabstract Stringname()abstract voidsectionToValues(ConfigurationSection section) abstract voidsetBoolean(String key, boolean value) abstract voidabstract voidabstract voidabstract voidabstract void
-
Field Details
-
path
-
-
Constructor Details
-
DataKey
-
-
Method Details
-
createRelativeKey
-
equals
-
getBoolean
-
getBoolean
-
getDouble
-
getDouble
-
getFromRoot
-
getInt
-
getInt
-
getIntegerSubKeys
-
getLong
-
getLong
-
getPath
-
getRaw
-
getRawUnchecked
-
getRelative
-
getRelative
-
getString
-
getString
-
getSubKeys
-
getValuesDeep
-
hashCode
public int hashCode() -
keyExists
public boolean keyExists() -
keyExists
-
name
-
removeKey
-
sectionToValues
-
setBoolean
-
setDouble
-
setInt
-
setLong
-
setRaw
-
setString
-