Package net.ME1312.Galaxi.Library.Map
Class ObjectMapValue<K>
java.lang.Object
net.ME1312.Galaxi.Library.Map.ObjectMapValue<K>
- Type Parameters:
K
- Key Type
Object Map Class
-
Method Summary
Modifier and TypeMethodDescriptionGet Object as BooleanGet Object as Boolean ListasDouble()
Get Object as DoubleGet Object as Double ListasFloat()
Get Object as FloatGet Object as Float ListasInt()
Get Object as IntegerGet Object as Integer ListasList()
Get ListasLong()
Get Object as LongGet Object as Long ListasMap()
Get Object as Object MapGet Object as Object Map ListasObject()
Get ObjectList<?>
Get Object as Object ListasShort()
Get a Short by HandleGet a Short List by HandleasString()
Get Object as StringGet Object as String ListasUUID()
Get Object as UUIDGet Object as UUID ListGet Object as VersionGet Object as Version Listboolean
Get the Handle this Object usesGet the Object Map this Object was defined inboolean
Check if object is a Booleanboolean
isList()
Check if object is a Listboolean
isMap()
Check if object is an Object Mapboolean
isNull()
Check if object is Nullboolean
isNumber()
Check if object is a Numberboolean
isString()
Check if object is a Stringboolean
isUUID()
Check if object is a UUIDtoString()
-
Method Details
-
getParent
Get the Object Map this Object was defined in- Returns:
- Object Map
-
getHandle
Get the Handle this Object uses- Returns:
- Object Handle
-
asList
Get List- Returns:
- List
-
asObject
Get Object- Returns:
- Object
-
asObjectList
Get Object as Object List- Returns:
- List
-
asBoolean
Get Object as Boolean- Returns:
- Boolean
-
asBooleanList
Get Object as Boolean List- Returns:
- List
-
asMap
Get Object as Object Map- Returns:
- Object Map
-
asMapList
Get Object as Object Map List- Returns:
- Object Map List
-
asDouble
Get Object as Double- Returns:
- Double
-
asDoubleList
Get Object as Double List- Returns:
- Double List
-
asFloat
Get Object as Float- Returns:
- Float
-
asFloatList
Get Object as Float List- Returns:
- Float List
-
asInt
Get Object as Integer- Returns:
- Integer
-
asIntList
Get Object as Integer List- Returns:
- Integer List
-
asLong
Get Object as Long- Returns:
- Long
-
asLongList
Get Object as Long List- Returns:
- Long List
-
asShort
Get a Short by Handle- Returns:
- Short
-
asShortList
Get a Short List by Handle- Returns:
- Short List
-
asString
Get Object as String- Returns:
- String
-
asStringList
Get Object as String List- Returns:
- String List
-
asUUID
Get Object as UUID- Returns:
- UUID
-
asUUIDList
Get Object as UUID List- Returns:
- UUID List
-
asVersion
Get Object as Version- Returns:
- Version
-
asVersionList
Get Object as Version List- Returns:
- Version List
-
isNull
public boolean isNull()Check if object is Null- Returns:
- Null Status
-
isBoolean
public boolean isBoolean()Check if object is a Boolean- Returns:
- Boolean Status
-
isMap
public boolean isMap()Check if object is an Object Map- Returns:
- ObjectMap Status
-
isList
public boolean isList()Check if object is a List- Returns:
- List Status
-
isNumber
public boolean isNumber()Check if object is a Number- Returns:
- Number Status
-
isString
public boolean isString()Check if object is a String- Returns:
- String Status
-
isUUID
public boolean isUUID()Check if object is a UUID- Returns:
- UUID Status
-
equals
-
toString
-