Class SimpleElement.AttributeMap

    • Constructor Detail

      • AttributeMap

        public AttributeMap()
    • Method Detail

      • readExternal

        public void readExternal​(DataInput in)
                          throws IOException
        Restore the contents of this object by loading the object's state from the passed DataInput object.
        Specified by:
        readExternal in interface ExternalizableLite
        Parameters:
        in - the DataInput stream to read data from in order to restore the state of this object
        Throws:
        IOException - if an I/O exception occurs
        NotActiveException - if the object is not in its initial state, and therefore cannot be deserialized into
      • writeExternal

        public void writeExternal​(DataOutput out)
                           throws IOException
        Save the contents of this object by storing the object's state into the passed DataOutput object.
        Specified by:
        writeExternal in interface ExternalizableLite
        Parameters:
        out - the DataOutput stream to write the state of this object to
        Throws:
        IOException - if an I/O exception occurs
      • instantiateEntry

        protected SimpleElement.AttributeMap.Entry instantiateEntry​(Object oKey,
                                                                    Object oVal)
        Instantiate an Entry instance. This method permits inheriting classes to easily override the implementation of Entity.
        Parameters:
        oKey - the key
        oVal - the value
        Returns:
        the instantiated Entry
      • findEntry

        protected SimpleElement.AttributeMap.Entry findEntry​(Object oKey)
        Find an entry with the specified key.
        Parameters:
        oKey - the key to search for
        Returns:
        the entry with the specified key or null if the key could not be found
      • instantiateEntrySet

        protected Set instantiateEntrySet()
        Instantiate an Entry Set. This method permits inheriting classes to easily override the implementation of the Entity Set.
        Returns:
        the instantiated set of Entry's