All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jpattern.ioc.xml.Key Maven / Gradle / Ivy

There is a newer version: 2.7.1
Show newest version
package com.jpattern.ioc.xml;
/**
 * 
 * @author Claudio Quaresima - [email protected] - 23/ott/08 17:53:01
 * @version $Id: $
 */
public class Key {
        
        private String key;

        public Key(String akey) {
            
            key=  akey;
        }

        public String key() {
            return key;
        }

        public int hashCode() {
           return key.hashCode();
        }

        public boolean equals(Object obj) {
            if ( !(obj instanceof Key))
                return false;
            final Key other = (Key) obj;
            return key.equals(other.key);
        }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy