Package groovy.util

Class Expando

    • Constructor Detail

      • Expando

        public Expando()
      • Expando

        public Expando​(Map expandoProperties)
    • Method Detail

      • getProperties

        public Map getProperties()
        Returns:
        the dynamically expanded properties
      • getMetaPropertyValues

        public List getMetaPropertyValues()
      • toString

        public String toString()
        This allows toString to be overridden by a closure field method attached to the expando object.
        Overrides:
        toString in class Object
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        This allows hashCode to be overridden by a closure field method attached to the expando object.
        Overrides:
        hashCode in class Object
        See Also:
        Object.hashCode()
      • createMap

        protected Map createMap()
        Factory method to create a new Map used to store the expando properties map
        Returns:
        a newly created Map implementation