Code examples for Hashtable

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
55:	private static Hashtable<String,ResmonResult> mods = new Hashtable<String,ResmonResult>(); 
Full Snippet Info
9
CodeRank
53:	Hashtable keys = new Hashtable(); 
54:	keys.put(TYPE_KEY, ClassUtils.getShortName(managedBean.getClass())); 
55:	keys.put(HASH_CODE_KEY, ObjectUtils.getIdentityHexString(managedBean)); 
56:	return ObjectNameManager.getInstance(domain, keys); 
Full Snippet Info
9
CodeRank
60:	private Hashtable keyedByString = new Hashtable(); 
Full Snippet Info
9
CodeRank
68:	metrics = new Hashtable<String,ResmonMetricData>(); 
Full Snippet Info
9
CodeRank
17:	private Hashtable extensions = new Hashtable(); 
Full Snippet Info
9
CodeRank
34:	Hashtable<String, String> properties = new Hashtable<String, String>(3); 
35:	properties.put("type", quote("HazelcastInstance.ClientEngine")); 
36:	properties.put("name", quote(hazelcastInstance.getName())); 
37:	properties.put("instance", quote(hazelcastInstance.getName())); 
-
39:	setObjectName(properties); 
Full Snippet Info
8
CodeRank
35:	Hashtable<String, String> properties = new Hashtable<String, String>(3); 
36:	properties.put("type", quote("HazelcastInstance.ConnectionManager")); 
37:	properties.put("instance", quote(hazelcastInstance.getName())); 
38:	properties.put("name", hazelcastInstance.getName()); 
39:	setObjectName(properties); 
Full Snippet Info
7
CodeRank
46:	final Hashtable<String, String[]> t = new Hashtable<String, String[]>(); 
47:	t.put("name", new String[] { "guilherme" }); 
48:	t.put("age", new String[] { "27" }); 
-
50:	when(request.getParameterNames()).thenReturn(t.keys()); 
51:	when(request.getParameterMap()).thenReturn(t); 
Full Snippet Info
7
CodeRank
80:	HT_GATEWAY.put(nickname, this); 
-
85:	if ( HT_GATEWAY.containsKey(nickname) ) { 
-
97:	vosgiGateway = (Gateway) HT_GATEWAY.get(parent_gateway); 
-
140:	if ( HT_GATEWAY.containsKey(nickname) ) { 
-
146:	Object gateway_list[] = HT_GATEWAY.keySet().toArray(); 
Full Snippet Info
7
CodeRank
45:	Hashtable<String, Object> env = new Hashtable<String, Object>(); 
46:	env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); 
47:	env.put(Context.PROVIDER_URL, ldapURL); 
-
63:	env.put(Context.SECURITY_AUTHENTICATION, "simple"); 
64:	env.put(Context.SECURITY_PRINCIPAL, bindDN); 
65:	env.put(Context.SECURITY_CREDENTIALS, password); 
Full Snippet Info
7
CodeRank
76:	this.boundObjects = new Hashtable<String, Object>(); 
Full Snippet Info
7
CodeRank
36:	Hashtable<String, String> properties = new Hashtable<String, String>(INITIAL_CAPACITY); 
37:	properties.put("type", quote("HazelcastInstance.ProxyService")); 
38:	properties.put("name", quote("proxyService" + hazelcastInstance.getName())); 
39:	properties.put("instance", quote(hazelcastInstance.getName())); 
-
41:	setObjectName(properties); 
Full Snippet Info
8
CodeRank
51:	if (extraParameters.containsKey(name)) { 
52:	String[] values = extraParameters.get(name); 
Full Snippet Info
7
CodeRank
38:	private Map<String, LinkedList<String>> dics = new Hashtable<String, LinkedList<String>>(); 
Full Snippet Info
9
CodeRank
52:	Hashtable<String, String> keys = new Hashtable<String, String>(); 
53:	keys.put(TYPE_KEY, ClassUtils.getShortName(managedBean.getClass())); 
54:	keys.put(HASH_CODE_KEY, ObjectUtils.getIdentityHexString(managedBean)); 
Full Snippet Info
7
CodeRank
41:	Hashtable<String, String> properties = new Hashtable<String, String>(INITIAL_CAPACITY); 
42:	properties.put("type", quote("HazelcastInstance.PartitionServiceMBean")); 
43:	properties.put("name", quote(hazelcastInstance.getName())); 
44:	properties.put("instance", quote(hazelcastInstance.getName())); 
-
46:	setObjectName(properties); 
Full Snippet Info
8
CodeRank
17:	if( !_credentials.containsKey( host ) ) { 
-
20:	Credential credential = (Credential) _credentials.get( host ); 
Full Snippet Info
7
CodeRank
95:	namekeys = new Hashtable(); 
Full Snippet Info
9
CodeRank
7:	Hashtable<K, SoftReference<V>> mTable = new Hashtable<K, SoftReference<V>>(); 
Full Snippet Info
7
CodeRank
38:	_functions = new Hashtable(); 
39:	_functions.put( FUNCTION_OPEN_PUSH, new OpenPushListenerFunction() ); 
40:	_functions.put( FUNCTION_CLOSE_PUSH, new ClosePushListenerFunction() ); 
41:	_functions.put( FUNCTION_OPEN_BIS_PUSH, new OpenBISPushListenerFunction() ); 
42:	_functions.put( FUNCTION_OPEN_BES_PUSH, new OpenBESPushListenerFunction() ); 
Full Snippet Info
7
CodeRank