Code example for ConcurrentHashMap

package erjang.m.erlang; 
import java.util.Map; 
import java.util.concurrent.ConcurrentHashMap; 
import erjang.EAtom; 
import erjang.EInternalPort; 
public class DistEntry { 
	static Map<EAtom, DistEntry> table = new ConcurrentHashMap<EAtom, DistEntry>(); 
	static { 
	private final EAtom sysname; 
	private final EInternalPort cid; 
	public int flags; 
	public DistEntry(EAtom sysname, EInternalPort cid) { 
		this.sysname = sysname; 
		this.cid = cid; 
Connect your IDE to all the code out there  Get Codota for Java