Code example for LinkedHashMap

Methods: get, put

0
         * Adds a Property to this component. 
         * @param prop 
         */ 
        public void addProperty(Property prop) {
            String name= prop.getName();
            ArrayList<Property> props = mPropsMap.get(name);
            if (props == null) {
                props = new ArrayList<Property>();
                mPropsMap.put(name, props);
            } 
            props.add(prop);
        } 
 
        /** 
         * Returns a set of the property names within this component. 
         * @return A set of property names within this component. 
         */ 
        public Set<String> getPropertyNames() {
            return mPropsMap.keySet();
        }