Best code examples for Java 8 Hashtable class (java.util.Hashtable)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 Hashtable class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Java 8 Hashtable examples from Open Source projects
This code example shows how to use the following methods:
55:	private static Hashtable<String,ResmonResult> mods = new Hashtable<String,ResmonResult>(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: put
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
This code example shows how to use the following methods: put, containsKey, get, putAll
75:	final Properties properties = new Properties(); 
76:	properties.putAll(System.getProperties()); 
77:	if(properties.containsKey("node1")) { 
78:	properties.put("node1", NetworkUtils.formatPossibleIpv6Address((String) properties.get("node1"))); 
-
86:	.addAsManifestResource(new StringAsset(PropertiesValueResolver.replaceProperties(ejbJar, properties)), "ejb-jar.xml"); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: put
86:	final Properties pr = new Properties(); 
87:	pr.put("remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED", "false"); 
88:	pr.put("remote.connections", "default"); 
89:	pr.put("remote.connection.default.host", hostName); 
90:	pr.put("remote.connection.default.port", "8080"); 
91:	pr.put("remote.connection.default.username", CONNECTION_USERNAME); 
92:	pr.put("remote.connection.default.password", CONNECTION_PASSWORD); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
60:	private Hashtable keyedByString = new Hashtable(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: clear, containsKey, load
86:	Properties modMappings = new Properties(); 
-
91:	modMappings.load(langStream); 
-
99:	modMappings.clear(); 
100:	modMappings.load(langStream); 
-
106:	if (modMappings.containsKey("language.parent")) { 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: put
71:	Properties config = new Properties(); 
72:	config.put("some.setting", "some value"); 
73:	config.put("plugins.disable", "play.plugins.TestPlugin"); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: put
27:	Properties env = new Properties(); 
-
31:	env.put(Context.PROVIDER_URL, "http-remoting://" + address + ":8080"); 
32:	env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory"); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
68:	metrics = new Hashtable<String,ResmonMetricData>(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: put
197:	Properties params = new Properties(); 
-
199:	params.put("use-java-context", "true"); 
200:	params.put("class-name", "Class3"); 
201:	params.put("jndi-name", "java:jboss/Name3"); 
202:	params.put("enabled", "true"); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: put
188:	Properties params=new Properties(); 
-
190:	params.put("use-java-context","false"); 
191:	params.put("class-name","Class3"); 
192:	params.put("jndi-name", "java:jboss/Name3"); 
193:	params.put("enabled","true"); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: size
60:	Properties props = new Properties(); 
61:	EmbeddedStandAloneServerFactory.setupCleanDirectories(standardJBossHome, props); 
62:	Assert.assertEquals(0, props.size()); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: clone, put
62:	final Hashtable environment = (Hashtable) this.environment.clone(); 
63:	environment.put(Context.PROVIDER_URL, server); 
64:	return CNCtxFactory.INSTANCE.getInitialContext(environment).lookup(lookup); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: put
97:	final Hashtable<String,String> jndiProperties = new Hashtable<String,String>(); 
98:	jndiProperties.put(Context.INITIAL_CONTEXT_FACTORY,"org.jboss.as.naming.InitialContextFactory"); 
99:	jndiProperties.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming"); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: put
This code example shows how to use the following methods: put
86:	final Properties pr = new Properties(); 
87:	pr.put("remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED", "false"); 
88:	pr.put("remote.connection.default.connect.options.org.xnio.Options.SASL_DISALLOWED_MECHANISMS", "JBOSS_LOCAL_USER"); 
89:	pr.put("remote.connections", "default"); 
90:	pr.put("remote.connection.default.host", hostName); 
91:	pr.put("remote.connection.default.port", "8080"); 
92:	pr.put("remote.connection.default.username", CONNECTION_USERNAME); 
93:	pr.put("remote.connection.default.password", CONNECTION_PASSWORD); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
17:	private Hashtable extensions = new Hashtable(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: get
63:	Object field = _fields.get( fieldName ); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
38:	private Map<String, LinkedList<String>> dics = new Hashtable<String, LinkedList<String>>(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: get
70:	Boolean ipconstrain = (Boolean) ips.get(ipstring); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
95:	namekeys = new Hashtable(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: get
45:	DERObjectIdentifier oid = (DERObjectIdentifier)objIds.get(Strings.toUpperCase(name)); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: put
138:	Hashtable<String,String> o = new Hashtable<String,String>(); 
-
141:	o.put("module", root.getAttribute("module")); 
142:	o.put("name", root.getAttribute("name")); 
143:	o.put("target", root.getAttribute("target")); 
-
145:	if(target_ip != null) o.put("target_ip", target_ip); 
146:	o.put("timeout", root.getAttribute("timeout")); 
147:	o.put("period", root.getAttribute("period")); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
32:	private static final Hashtable<String, Typeface> cache = new Hashtable<String, Typeface>(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: put
94:	Properties props = new Properties(); 
95:	props.put("mapred.job.tracker", JOB_TRACKER); 
96:	props.put("fs.default.name", FS_NAME); 
97:	props.put("hadoop.tmp.dir", TMP_DIR_PROP); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
79:	mArgMap = new Hashtable<String, String>(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
158:	namedAttributes = new Hashtable(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
52:	public static Hashtable<String, String> currentPermissions = new Hashtable<String, String>(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
55:	private Hashtable<String, String> runningProcesses = new Hashtable<String, String>(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
65:	public static Hashtable dirHash = new Hashtable(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
69:	new Hashtable<String, String>(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
16:	protected Hashtable<String, String> templateData = new Hashtable<String, String>(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
45:	new Hashtable()); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
29:	table = new Hashtable(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
44:	final Hashtable m_stringToInt = new Hashtable(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
37:	private Hashtable m_cachedMethods = new Hashtable(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
54:	m_poolTable = new Hashtable(); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods:
37:	private Hashtable attributes=new Hashtable(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
88:	protected Hashtable       table = new Hashtable(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
58:	private Hashtable homes = new Hashtable(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
44:	private Hashtable<String, String> parameters = new Hashtable<String, String>(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
5:	Hashtable h = new Hashtable(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
6:	Hashtable<String, Vector<Integer>> h = new Hashtable<String, Vector<Integer>>(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
57:	protected Hashtable attributes=new Hashtable(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
6:	Hashtable h2 = new Hashtable(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
33:	private Hashtable<String, String> scriptParameters = new Hashtable<String, String>(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
47:	private final Hashtable m_indexFromQName = new Hashtable(); 
Full Snippet Info
8
CodeRank
Related Java 8 Hashtable Questions & Answers:
See Code Examples for Java 8 Hashtable Methods: