Interface CustomObject

  • All Implemented Interfaces:

    
    public interface CustomObject
    
                        

    Marks a given object as an object which contains custom data (extraData).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      <T extends Any> T getExtraValue(String key, T default) Returns the value associated with the given key, or default if the key is not present in the extraData.
      abstract Map<String, Object> getExtraData() The custom key-value data associated with this object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait