File was renamed from pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/ProtocolCach.java |
| | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | public class ProtocolCach { |
| | | public class ProtocolCache { |
| | | |
| | | //本系统中,Driver在单线程中运行,所以只用一个实例 |
| | | private static final HashMap<String, Driver> drivers = new HashMap<>() ; |
| | |
| | | return onLineMap; |
| | | } |
| | | |
| | | /* |
| | | public static void main(String[] args){ |
| | | HashMap<String, Integer> mp = new HashMap<>() ; |
| | | mp.put("a1", 1) ; |
| | |
| | | List<String> list = new ArrayList<>(mp.keySet()) ; |
| | | System.out.println(list); |
| | | } |
| | | */ |
| | | } |