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

com.rathravane.till.data.xml.rrXmlAttrMap Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package com.rathravane.till.data.xml;

import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class rrXmlAttrMap implements Map
{
	public rrXmlAttrMap ()
	{
		this ( null );
	}

	public rrXmlAttrMap ( rrXmlAttrMap under )
	{
		fMap = new HashMap ();
	}

	public  String getOrThrow ( String key, T e ) throws T
	{
		String result = get ( key );
		if ( result == null )
		{
			throw e;
		}
		return result;
	}
	
	public void clear () { fMap.clear (); }
	public boolean containsKey ( Object k ) { return fMap.containsKey ( k ); }
	public boolean containsValue ( Object k ) { return fMap.containsValue ( k ); }
	public Set> entrySet () { return fMap.entrySet (); }
	public String get ( Object arg0 ) { return fMap.get ( arg0 ); }
	public boolean isEmpty () { return fMap.isEmpty (); }
	public Set keySet () { return fMap.keySet (); }
	public String put ( String arg0, String arg1 ) { return fMap.put ( arg0, arg1); }
	public void putAll ( Map arg0 ) { fMap.putAll ( arg0 ); }
	public String remove ( Object arg0 ) { return fMap.remove ( arg0 ); }
	public int size () { return fMap.size(); }
	public Collection values () { return fMap.values (); }

	private final HashMap fMap;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy