Class ObjectMapValue<K>

java.lang.Object
net.ME1312.Galaxi.Library.Map.ObjectMapValue<K>
Type Parameters:
K - Key Type

public class ObjectMapValue<K> extends Object
Object Map Class
  • Method Details

    • getParent

      public ObjectMap<K> getParent()
      Get the Object Map this Object was defined in
      Returns:
      Object Map
    • getHandle

      public K getHandle()
      Get the Handle this Object uses
      Returns:
      Object Handle
    • asList

      public List<ObjectMapValue<K>> asList()
      Get List
      Returns:
      List
    • asObject

      public Object asObject()
      Get Object
      Returns:
      Object
    • asObjectList

      public List<?> asObjectList()
      Get Object as Object List
      Returns:
      List
    • asBoolean

      public Boolean asBoolean()
      Get Object as Boolean
      Returns:
      Boolean
    • asBooleanList

      public List<Boolean> asBooleanList()
      Get Object as Boolean List
      Returns:
      List
    • asMap

      public ObjectMap<K> asMap()
      Get Object as Object Map
      Returns:
      Object Map
    • asMapList

      public List<ObjectMap<K>> asMapList()
      Get Object as Object Map List
      Returns:
      Object Map List
    • asDouble

      public Double asDouble()
      Get Object as Double
      Returns:
      Double
    • asDoubleList

      public List<Double> asDoubleList()
      Get Object as Double List
      Returns:
      Double List
    • asFloat

      public Float asFloat()
      Get Object as Float
      Returns:
      Float
    • asFloatList

      public List<Float> asFloatList()
      Get Object as Float List
      Returns:
      Float List
    • asInt

      public Integer asInt()
      Get Object as Integer
      Returns:
      Integer
    • asIntList

      public List<Integer> asIntList()
      Get Object as Integer List
      Returns:
      Integer List
    • asLong

      public Long asLong()
      Get Object as Long
      Returns:
      Long
    • asLongList

      public List<Long> asLongList()
      Get Object as Long List
      Returns:
      Long List
    • asShort

      public Short asShort()
      Get a Short by Handle
      Returns:
      Short
    • asShortList

      public List<Short> asShortList()
      Get a Short List by Handle
      Returns:
      Short List
    • asString

      public String asString()
      Get Object as String
      Returns:
      String
    • asStringList

      public List<String> asStringList()
      Get Object as String List
      Returns:
      String List
    • asUUID

      public UUID asUUID()
      Get Object as UUID
      Returns:
      UUID
    • asUUIDList

      public List<UUID> asUUIDList()
      Get Object as UUID List
      Returns:
      UUID List
    • asVersion

      public Version asVersion()
      Get Object as Version
      Returns:
      Version
    • asVersionList

      public List<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

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object