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

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

There is a newer version: 2.7.1
Show newest version
package com.jpattern.ioc.xml;

/**
 * 
 * @author Francesco Cina'
 *
 * 27/nov/2010
 */
public class ExtraContext {
    private Value value;

    public ExtraContext(Value aValue) {
        value = aValue;
    }

    public Value getValue() {
        return value;
    }

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

    public boolean equals(Object obj) {
        if ( !(obj instanceof ExtraContext))
            return false;
        final ExtraContext other = (ExtraContext) obj;
        return value.value().equals( other.getValue().value() );
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy