Code example for Hashtable

Methods: equals

0
	@Override 
    public boolean equals(Object obj) {
		if (obj instanceof MockContext) {
			MockContext theOther = (MockContext) obj;
			boolean envmtEqual = (null == props ? null == theOther.props
					: props.equals(theOther.props));
			if (!envmtEqual) {
				return false; 
			} 
 
			return true; 
		} 
        return false; 
	} 
 
	public static void setActionController( 
			DazzleActionController actionController) {
		MockContext.actions = actionController;
	} 
 
	Object takeActions() throws NamingException {